dotansimha/graphql-code-generator-community
在 GitHub 查看Kotlin plugin does not create __typename property in data class
Open
#131 创建于 2021年6月13日
help wanted
仓库指标
- Star
- (136 star)
- PR 合并指标
- (PR 指标待抓取)
描述
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