Skip to content

Commit 1076d2f

Browse files
kbrandwijkjlengstorf
authored andcommitted
fix(schema): Updated description syntax (#15)
* Updated description syntax * Update graphql peer dependency fix #13
1 parent e31ac4b commit 1076d2f

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"casual": "^1.5.19"
3535
},
3636
"peerDependencies": {
37-
"graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0",
37+
"graphql": "^0.12.0",
3838
"graphql-tools": "^1.2.1 || ^2.5.1"
3939
},
4040
"devDependencies": {

src/schema.graphql

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
type Query {
2-
# TODO: rename and add a description of this query
2+
"TODO: rename and add a description of this query"
33
getById(
4-
# A unique identifier
4+
"A unique identifier"
55
id: ID!
66
): PFX_DataSourceBase
77
}
88

9-
# TODO: Choose a unique prefix and rename the type descriptively.
9+
"TODO: Choose a unique prefix and rename the type descriptively."
1010
type PFX_DataSourceBase {
11-
# A unique identifier
11+
"A unique identifier"
1212
id: ID!
13-
# Describe each field to help people use the data more effectively.
13+
"Describe each field to help people use the data more effectively."
1414
name: String
15-
# An array of very super lucky numbers.
16-
#
17-
# DISCLAIMER: The luckiness of these numbers is _not scientifically proven_.
15+
"""
16+
An array of very super lucky numbers.
17+
18+
DISCLAIMER: The luckiness of these numbers is _not scientifically proven_.
19+
"""
1820
lucky_numbers: [Int]
1921
}

0 commit comments

Comments
 (0)