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

Use an explicit JVM generated name for all kotlin2 data classes #443

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

mbossenbroek
Copy link
Contributor

  • If a GQL property name starts with is, like isRequired, graphQL will only look for property names like isIsRequired or getIsRequired
  • This specifies an explicit name for all properties matching the GQL logic
  • For interfaces/overridden methods, we must also suppress a warning detailed here: https://youtrack.jetbrains.com/issue/KT-31420

* If a GQL property name starts with `is`, like `isRequired`, graphQL will only look for property names like `isIsRequired` or `getIsRequired`
* This specifies an explicit name for all properties matching the GQL logic
* For interfaces/overridden methods, we must also suppress a warning detailed here: https://youtrack.jetbrains.com/issue/KT-31420
@srinivasankavitha srinivasankavitha merged commit b0e81ff into master Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants