Merge pull request #425 from trouble/graphql-errors

gql errors include formatted field validation data
This commit is contained in:
Dan Ribbens
2020-10-20 09:36:27 -04:00
committed by GitHub
5 changed files with 41 additions and 40 deletions

View File

@@ -15,7 +15,7 @@
"build": "PAYLOAD_CONFIG_PATH=demo/payload.config.js node src/bin/build",
"build:analyze": "PAYLOAD_CONFIG_PATH=demo/payload.config.js PAYLOAD_ANALYZE_BUNDLE=true node src/bin/build",
"cov": "npm run core:build && node ./node_modules/jest/bin/jest.js src/tests --coverage",
"debug": "nodemon --inspect demo/server.js",
"debug": "cross-env PAYLOAD_CONFIG_PATH=demo/payload.config.js nodemon --inspect demo/server.js",
"debug:test:int": "node --inspect-brk node_modules/.bin/jest --runInBand",
"dev": "cross-env PAYLOAD_CONFIG_PATH=demo/payload.config.js nodemon demo/server.js",
"lint": "eslint .",