fix: Do not generate initializers when there will be no parameters #3486
Labels
codegen
Issues related to or arising from code generation
planned-next
Slated to be included in the next release
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.The text was updated successfully, but these errors were encountered: