OPERATION_BASED_WITH_INTERFACES fragment's name clash #4422
Labels
🐛 Type: Bug
🧊 Icebox
Features that would be nice but probably won't happen in the near future
⚠️ Breaking Change
To be done in next major version
Summary
With
experimental_operationBasedWithInterfaces
codegen model, fragment's name clash can happen with the example below. This problem is also exist inresponseBased
codegen model.Version
3.6.1-SNAPSHOT
Steps to reproduce the behavior
Use this graphql:
For
experimental_operationBasedWithInterfaces
, output code will have two LionAnimalFragment classes:For
responseBased
, output code will have two LionAnimalFragment:The text was updated successfully, but these errors were encountered: