Skip to content

Question: Is there a way to make mercurius-codegen generate schema at build time? #812

@mike-van

Description

@mike-van

Hi i'm new to the mercurius eosystem. This is more of a question than an issue. I understand that currently Mercurius codegen only generates types at runtime, so I need to store the generated file in version control, is there anyway like graphql codegen, that I could make it generate types and build time, so my CI could generate types when running builds? Is there something I am missing in the docs, or is this not supported by the library intentionally?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions