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
it works great for fields, and generates CustomNew interface: static let CustomNew = ApolloAPI.Interface(name: "CustomV2")
However, in one of my queries, it skips to use the alias I want, when it’s wrapped in include directive:
The field in question is a Selection Set type and not a Schema type which is what the custom renaming is used for, this field would need to be renamed using a field alias in order to change its name. I have created an issue to add docs to help better explain this distinction here.
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo iOS usage and allow us to serve you better.
Issue reported in this thread https://graphchampions.slack.com/archives/C02L9FDUZKM/p1727826399718149 it appears that types that have been renamed through the config option aren't using their new name for an @include directive usage.
From the original report:
I specified the following in my config:
it works great for fields, and generates CustomNew interface:
static let CustomNew = ApolloAPI.Interface(name: "CustomV2")
However, in one of my queries, it skips to use the alias I want, when it’s wrapped in include directive:
I’d expect:
The text was updated successfully, but these errors were encountered: