You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graphql-kotlin-federation/src/test/kotlin/com/expedia/graphql/federation/execution/ServiceQueryResolverTest.kt
+1-28Lines changed: 1 addition & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -15,21 +15,6 @@ const val FEDERATED_SERVICE_SDL = """schema {
15
15
query: Query
16
16
}
17
17
18
-
#Marks target field as external meaning it will be resolved by federated schema
19
-
directive @external on FIELD_DEFINITION
20
-
21
-
#Marks target object as part of the federated schema
22
-
directive @extends on OBJECT | INTERFACE
23
-
24
-
#Specifies the base type field set that will be selectable by the gateway
25
-
directive @provides(fields: _FieldSet!) on FIELD_DEFINITION
26
-
27
-
#Space separated list of primary keys needed to access federated object
28
-
directive @key(fields: _FieldSet!) on OBJECT | INTERFACE
29
-
30
-
#Specifies required input field set from the base type for a resolver
31
-
directive @requires(fields: _FieldSet!) on FIELD_DEFINITION
32
-
33
18
interface Product @extends @key(fields : "id") {
34
19
id: String! @external
35
20
reviews: [Review!]!
@@ -54,19 +39,7 @@ type Review {
54
39
type User @extends @key(fields : "userId") {
55
40
name: String! @external
56
41
userId: Int! @external
57
-
}
58
-
59
-
#Federation type representing set of fields
60
-
scalar _FieldSet
61
-
62
-
#Directs the executor to include this field or fragment only when the `if` argument is true
63
-
directive @include(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
64
-
65
-
#Directs the executor to skip this field or fragment when the `if`'argument is true.
66
-
directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
67
-
68
-
#Marks the target field/enum value as deprecated
69
-
directive @deprecated(reason: String = "No longer supported") on FIELD_DEFINITION | ENUM_VALUE"""
0 commit comments