Files
argoyle d5c99ca976 fix: update operation IDs to string type in GraphQL schema
Change the type of the `id` field from `Int` to `String` in the 
GraphQL schema for `Band`, `DanceHall`, and `Event` types. This 
improves consistency in data representation. Also, modify the 
`codegen` command in `package.json` to simplify the linting 
process for generated files, ensuring cleaner code practices.
2025-11-04 11:39:59 +01:00

24 lines
588 B
YAML

schema: http://localhost:6080/query
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