Skip to content
New issue

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

fix: Do not generate initializers when there will be no parameters #3486

Open
calvincestari opened this issue Dec 10, 2024 · 0 comments
Open
Assignees
Labels
codegen Issues related to or arising from code generation planned-next Slated to be included in the next release

Comments

@calvincestari
Copy link
Member

Related to #3482.

There are some cases where selection set initializers are generated with only the __typename property and no field selection properties. These are confusing and offer no value, so in these cases codegen should not generate the initializer.

@calvincestari calvincestari added codegen Issues related to or arising from code generation planned-next Slated to be included in the next release labels Dec 10, 2024
@calvincestari calvincestari self-assigned this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen Issues related to or arising from code generation planned-next Slated to be included in the next release
Projects
None yet
Development

No branches or pull requests

1 participant