We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug fieldnames can give incorrect generated types.
To Reproduce When i have a 'mutation' field in the type 'BasketMutationResult' i get the following result:
export namespace AddBasketItem { export type Variables = { item: BasketMutation; }; export type Mutation = { __typename?: 'Mutation'; addBasketItem: Maybe<AddBasketItem>; }; export type AddBasketItem = { __typename?: 'BasketMutationResult'; mutation: Maybe<Mutation>; }; export type Mutation = | BasketMutationType.Fragment | BasketDeleteType.Fragment; }
It adds type Mutation twice while the last is not correct.
Expected behavior Not do this :)
Environment:
The text was updated successfully, but these errors were encountered:
#1369 should fix it
Sorry, something went wrong.
Duplicated type when fields are named the same as operation types (#1369
d55b18e
) Related: #1365
super!
Fixed in 0.18.0 🎉
kamilkisiela
No branches or pull requests
Describe the bug
fieldnames can give incorrect generated types.
To Reproduce
When i have a 'mutation' field in the type 'BasketMutationResult' i get the following result:
It adds type Mutation twice while the last is not correct.
Expected behavior
Not do this :)
Environment:
The text was updated successfully, but these errors were encountered: