24 lines
585 B
YAML
24 lines
585 B
YAML
schema: ./graphql/schema.graphql
|
|
documents: './graphql/**/*.graphql'
|
|
generates:
|
|
./graphql/generated/operations.ts:
|
|
plugins:
|
|
- typescript
|
|
- typescript-operations
|
|
- typescript-vue-apollo
|
|
- fragment-matcher
|
|
config:
|
|
gqlImport: '@/utils/gql#gql'
|
|
fetcher: fetch
|
|
avoidOptionals:
|
|
field: true
|
|
inputValue: true
|
|
object: false
|
|
defaultValue: true
|
|
maybeValue: T | null | undefined
|
|
strictScalars: true
|
|
scalars:
|
|
LocalDate: string
|
|
LocalDateTime: string
|
|
vueCompositionApiImportFrom: vue
|