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
Intended outcome:
Types generated by apollo client:codegen should take into account transformations resulting from Field Policies
Actual outcome:
Types generated by apollo client:codegen do not reflect transformations resulting from Field Policies.
How to reproduce the issue:
Create a 'read' Field Policy that changes the type of a given cached field. The codegen type will not reflect this.
Versions
Tooling: 2.30.1 Apollo Client: 3.0.0
The text was updated successfully, but these errors were encountered:
Example Field Policy:
Sorry, something went wrong.
You can add a dummy gql tag with the type extension using sdl in that file.
Any signs of life from the Apollo Team on this? Is codegen still supported or should I be migrating to GraphQL Code Generator?
No branches or pull requests
Intended outcome:
Types generated by apollo client:codegen should take into account transformations resulting from Field Policies
Actual outcome:
Types generated by apollo client:codegen do not reflect transformations resulting from Field Policies.
How to reproduce the issue:
Create a 'read' Field Policy that changes the type of a given cached field. The codegen type will not reflect this.
Versions
Tooling: 2.30.1
Apollo Client: 3.0.0
The text was updated successfully, but these errors were encountered: