Skip to content

Commit 5dee82d

Browse files
Fix includeDeprecated arg type in "Appendix D" (#1192)
* Fix `includeDeprecated` arg type in "Appendix D" * Update `graphql.js` to 17.0.0-alpha.9 version * update package.json scripts --------- Co-authored-by: Martin Bonnin <martin@mbonnin.net>
1 parent 96271da commit 5dee82d

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
"build": "./build.sh",
2323
"test:build": "spec-md --metadata spec/metadata.json spec/GraphQL.md > /dev/null",
2424
"watch": "nodemon -e json,md --exec \"npm run build\"",
25-
"update-appendix-c": "node scripts/update-appendix-c.mjs; prettier --write \"spec/Appendix C -- Built-in Definitions.md\""
25+
"update-appendix-specified-definitions": "node scripts/update-appendix-specified-definitions.mjs; prettier --write \"spec/Appendix D -- Specified Definitions.md\""
2626
},
2727
"devDependencies": {
2828
"cspell": "5.9.1",
2929
"nodemon": "2.0.20",
3030
"prettier": "2.8.2",
3131
"spec-md": "3.1.0",
32-
"graphql": "^17.0.0-alpha.8"
32+
"graphql": "^17.0.0-alpha.9"
3333
},
3434
"prettier": {
3535
"proseWrap": "always",

spec/Appendix D -- Specified Definitions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ type __Type {
4141
name: String
4242
description: String
4343
specifiedByURL: String
44-
fields(includeDeprecated: Boolean = false): [__Field!]
44+
fields(includeDeprecated: Boolean! = false): [__Field!]
4545
interfaces: [__Type!]
4646
possibleTypes: [__Type!]
47-
enumValues(includeDeprecated: Boolean = false): [__EnumValue!]
48-
inputFields(includeDeprecated: Boolean = false): [__InputValue!]
47+
enumValues(includeDeprecated: Boolean! = false): [__EnumValue!]
48+
inputFields(includeDeprecated: Boolean! = false): [__InputValue!]
4949
ofType: __Type
5050
isOneOf: Boolean
5151
}
@@ -64,7 +64,7 @@ enum __TypeKind {
6464
type __Field {
6565
name: String!
6666
description: String
67-
args(includeDeprecated: Boolean = false): [__InputValue!]!
67+
args(includeDeprecated: Boolean! = false): [__InputValue!]!
6868
type: __Type!
6969
isDeprecated: Boolean!
7070
deprecationReason: String
@@ -91,7 +91,7 @@ type __Directive {
9191
description: String
9292
isRepeatable: Boolean!
9393
locations: [__DirectiveLocation!]!
94-
args(includeDeprecated: Boolean = false): [__InputValue!]!
94+
args(includeDeprecated: Boolean! = false): [__InputValue!]!
9595
}
9696

9797
enum __DirectiveLocation {

0 commit comments

Comments
 (0)