Skip to content

Commit 3d033a4

Browse files
committed
include completion.documentation in tests
1 parent 97c0b2d commit 3d033a4

File tree

4 files changed

+188
-102
lines changed

4 files changed

+188
-102
lines changed

packages/graphql-language-service/src/interface/__tests__/__schema__/HoverTestSchema.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ enum Color {
1919
union UnionType = String | Float | Boolean
2020

2121
interface TestInterface {
22+
# hello
2223
id: String!
2324
}
2425

packages/graphql-language-service/src/interface/__tests__/__schema__/StarWarsSchema.graphql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ enum Episode {
1414

1515
interface Character {
1616
id: String!
17+
# hello
1718
name: String
1819
friends: [Character]
1920
appearsIn: [Episode]
@@ -30,6 +31,7 @@ type Human implements Character {
3031

3132
type Droid implements Character {
3233
id: String!
34+
# yes
3335
name: String
3436
friends: [Character]
3537
appearsIn: [Episode]
@@ -45,10 +47,14 @@ input InputType {
4547
}
4648

4749
interface TestInterface {
50+
"""
51+
example
52+
"""
4853
testField: String!
4954
}
5055

5156
interface AnotherInterface implements TestInterface {
57+
# hello
5258
testField: String!
5359
}
5460

@@ -62,6 +68,7 @@ type Query {
6268
droid(id: String!): Droid
6369
inputTypeTest(args: InputType = { key: "key" }): TestType
6470
deprecatedField: TestType @deprecated(reason: "Use test instead.")
71+
union: TestUnion
6572
}
6673

6774
union TestUnion = Droid | TestType

0 commit comments

Comments
 (0)