Skip to content

Add note about standard extensions but also make it Just Work™ with any extension #2060

@calvincestari

Description

@calvincestari

See #2059.

The part about "make it Just Work™ with any extension" is that ApolloCodegenConfiguration has separate FileInput properties for schema and operations. These could conceivably have any extension since the content is loaded and fed into the JS frontend. For that to work though ApolloCodegen.compileResults(using:) would need to change to use loadSchemaFromSDL or loadSchemaFromIntrospectionResult instead of loadSchema which looks at the extension for a hint on how to handle the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    codegenIssues related to or arising from code generationv1.x

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions