generated from spawnia/php-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathschema.graphql
60 lines (48 loc) · 967 Bytes
/
schema.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
type Query {
withDefaultDate(value: DefaultDate!): DefaultDate!
withCarbonDate(value: CarbonDate!): CarbonDate!
withDefaultEnum(value: DefaultEnum!): DefaultEnum!
withCustomEnum(value: CustomEnum): CustomEnum
withBenSampoEnum(value: BenSampoEnum): BenSampoEnum
withNativeEnum(value: NativeEnum): NativeEnum
withEnumInput(input: EnumInput): EnumObject
withCustomObject(value: CustomInput): CustomOutput
withNestedCustomObject: NestedCustomObject
}
type EnumObject {
default: DefaultEnum
custom: CustomEnum
}
input EnumInput {
default: DefaultEnum
custom: CustomEnum
}
enum DefaultEnum {
A
B
}
enum CustomEnum {
A
B
}
enum BenSampoEnum {
A
B
}
enum NativeEnum {
A
B
}
scalar DefaultDate
scalar CarbonDate
scalar CustomDate
input CustomInput {
foo: String!
}
type CustomOutput {
foo: String!
}
type NestedCustomObject {
bar: CustomOutput
baz: CustomOutput
}