graphqlade

    Interface CodeGeneratorOptions

    interface CodeGeneratorOptions {
        introspection?: IntrospectionOptions;
        introspector?: GraphQLIntrospector;
        operations?: string;
        out?: string;
        reader?: GraphQLReader;
        root?: string;
        scalarTypes?: Record<string, string | { from?: string; type: string }>;
        schema?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    introspection?: IntrospectionOptions

    Introspection options (only required for client-code generation)

    introspector?: GraphQLIntrospector
    operations?: string

    Path to directory of GraphQL operation documents, relative to root. Defaults to "operations".

    out?: string

    Path to directory to place generated code, relative to root. Defaults to "src/generated".

    reader?: GraphQLReader
    root?: string

    Path to root directory for code generation. It's recommended to use a root relative to __dirname. Defaults to the current working dir.

    scalarTypes?: Record<string, string | { from?: string; type: string }>
    schema?: string

    Path to directory of GraphQL schema documents, relative to root. Defaults to "schema".

    MMNEPVFCICPMFPCPTTAAATR