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.
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@
|
||||
"lint:style": "stylelint \"**/*.{css,scss,sass,html,vue}\" --ignore-path .gitignore",
|
||||
"lint": "npm run lint:js && npm run lint:style",
|
||||
"lintfix": "eslint --fix . && npm run lint:style --fix",
|
||||
"codegen": "graphql-codegen && eslint --ext \".ts\" --ignore-path .gitignore graphql/generated/operations.ts --fix"
|
||||
"codegen": "graphql-codegen && eslint graphql/generated/operations.ts --fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "20.1.0",
|
||||
|
||||
Reference in New Issue
Block a user