You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hey @thefliik, I'd like to see if I can add a warning to this. Can you provide me with a simple reproduction repo that's affected by this to save me some time?
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.
The text was updated successfully, but these errors were encountered: