-
- common
- generated
- serivce
- generated
overwrite: true
schema: '../server/graphql/schema/**/*.gql'
documents: '../(common|service)/graphql/documents/**/*.gql'
generates:
../common/generated/graphql.ts:
plugins:
- add: // DO NOT EDIT DIRECTLY
- add: /* eslint-disable */
- typescript
- typescript-operations
generated/graphql.ts:
preset: import-types
presetConfig:
typesPath: common/generated/graphql
plugins:
- add: // DO NOT EDIT DIRECTLY
- add: /* eslint-disable */
- typescript-react-apollo
config:
gqlImport: '@apollo/client#gql'
withHooks: true
withComponent: false
withHOC: false
reactApolloVersion: 3
documentVariableSuffix: DocumentQuery
generated/fragmentMatcher.json:
plugins:
- fragment-matcher
config:
apolloClientVersion: 3 help me plz : ( |
Beta Was this translation helpful? Give feedback.
Answered by
ardatan
Oct 8, 2020
Replies: 1 comment
-
You need to add 'content' property as the error says; add:
content: // WHATEVER YOU WANT TO ADD |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ardatan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to add 'content' property as the error says;