dotansimha/graphql-code-generator-community
[Flow] __typename not marked a read-only
オープン
#117 opened on 2021/03/11
help wanted
Repository metrics
- Stars
- (136 個のスター)
- PR merge metrics
- (平均マージ 1d 11h) (30d で 28 merged PRs)
説明
Describe the bug
To Reproduce Steps to reproduce the behavior:
https://codesandbox.io/s/wizardly-moser-nsrl1?file=/types.js
- My GraphQL schema:
Any schema
- My GraphQL operations:
No operations.
- My
codegen.ymlconfig file:
schema: schema.graphql
documents: document.graphql
generates:
types.js:
plugins:
- flow
- flow-operations
config:
useFlowReadOnlyTypes: true
Expected behavior __typename should be read-only