dotansimha/graphql-code-generator-community
Voir sur GitHubKotlin plugin does not create __typename property in data class
Open
#131 ouverte le 13 juin 2021
help wanted
Métriques du dépôt
- Stars
- (136 stars)
- Métriques de merge PR
- (Métriques PR en attente)
Description
Describe the bug
Kotlin types are not generated with a __typename property which breaks resolving union types.
To Reproduce Steps to reproduce the behavior:
- Generate types using Kotlin plugin
- I tried adding
nonOptionalTypename: truebut that had no effect
https://codesandbox.io/s/quizzical-star-wkmfk?file=/codegen.yml