-
Notifications
You must be signed in to change notification settings - Fork 167
Expand file tree
/
Copy pathedn-federation.edn
More file actions
81 lines (79 loc) · 2.11 KB
/
Copy pathedn-federation.edn
File metadata and controls
81 lines (79 loc) · 2.11 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{:roots
{:query :Query
:mutation :Mutation
:subscription :Subscription}
:objects
{:_Service
{:fields
{:sdl
{:type (non-null String)}}}
:User
{:fields
{:id
{:type (non-null Int)}
:name
{:type (non-null String)}}
:directives [{:directive-type :key :directive-args {:fields "id"}}]}
:Query
{:fields
{:user_by_id
{:type :User :args
{:id
{:type (non-null Int)}}}}}
:Account
{:fields
{:acct_number
{:type (non-null String)} :name
{:type (non-null String)}}
:directives [{:directive-type :key :directive-args {:fields "acct_number"}}]}
:Product
{:fields
{:upc
{:type (non-null String) :directives [{:directive-type :external}]} :reviewed_by
{:type :User}}
:directives [{:directive-type :key :directive-args {:fields "upc"}}
{:directive-type :extends}]}}
:scalars
{:_Any
{:parse :_Any/parser,
:serialize :_Any/serializer},
:_FieldSet
{:parse :_FieldSet/parser,
:serialize :_FieldSet/serializer}
:link__Import
{:parse :link__Import/parser,
:serialize :link__Import/serializer}}
:enums
{:link__Purpose
{:values [{:enum-value :SECURITY} {:enum-value :EXECUTION}]}}
:directive-defs
{:external
{:locations #{:field-definition}}
:requires
{:locations #{:field-definition}
:args {:fields {:type (non-null _FieldSet)}}}
:provides
{:locations #{:field-definition}
:args {:fields {:type (non-null _FieldSet)}}}
:key
{:locations #{:object :interface}
:args {:fields {:type (non-null _FieldSet)}
:resolvable {:type Boolean :default-value true}}}
:link
{:locations #{:schema},
:args {:url {:type String}, :as {:type String}, :for {:type :link__Purpose}, :import {:type (list :link__Import)}}}
:shareable {:locations #{:field-definition :object}},
:inaccessible
{:locations
#{:enum
:input-field-definition
:interface
:input-object
:enum-value
:scalar
:argument-definition
:union
:field-definition
:object}},
:override {:locations #{:field-definition}, :args {:from {:type (non-null String)}}},
:extends {:locations #{:interface :object}}}}