File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -124,8 +124,11 @@ References the named argument of the named directive.
124124For example, consider the following schema:
125125
126126``` graphql
127+ directive @private (scope : String ! ) on FIELD
128+
127129type Person {
128130 name : String
131+ email : String @private (scope : " loggedIn" )
129132}
130133
131134type Business {
@@ -150,8 +153,9 @@ We can write the following list of Schema Coordinates:
150153 the "Query" type
151154- `Query .searchBusinesses (name :)` uniquely identifies the "name" argument on the
152155 "searchBusinesses" field on the "Query" type
153-
154- This RFC standardizes how we write coordinates GraphQL Schema members as above .
156+ - `@private ` uniquely identifies the "private" directive
157+ - `@private (scope :)` uniquely identifies the "scope" argument on the "private"
158+ directive
155159
156160## 🎨 Prior art
157161
You can’t perform that action at this time.
0 commit comments