We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c694d1a commit 3f69e08Copy full SHA for 3f69e08
src/test/kotlin/graphql/kickstart/tools/RelayConnectionTest.kt
@@ -18,6 +18,8 @@ class RelayConnectionTest {
18
19
@Test
20
fun `should compile relay schema when not using @connection directive`() {
21
+ // Note: in addition to testing that a relay schema compiles without the @connection directive,
22
+ // this test also verifies that a custom @uppercase directive works as expected
23
val schema = SchemaParser.newParser().schemaString("""
24
directive @uppercase on FIELD_DEFINITION
25
@@ -40,7 +42,9 @@ class RelayConnectionTest {
40
42
name: String @uppercase
41
43
}
44
- type PageInfo
45
+ type PageInfo {
46
+ hasNextPage: Boolean
47
+ }
48
49
type AnotherTypeConnection {
50
edges: [AnotherTypeEdge!]!
0 commit comments