Skip to content

codegen: output warning if query type generation is suppressed because of naming conflict #1427

@jorroll

Description

@jorroll

As mentioned in #670, apollo codegen requires query names to be unique for a project when generating types. If two queries have the same name, type generation for the second query will be silently skipped.

This behavior is unexpected. It would be very helpful is apollo codegen output a console warning, including a filepath, whenever this occurs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions