Skip to content

Commit 802d378

Browse files
committed
Add note about meta-fields
1 parent 3e4bdf8 commit 802d378

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spec/Section 3 -- Type System.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2336,6 +2336,16 @@ DirectiveArgumentCoordinate : @ Name ( Name : )
23362336
5. Return the argument of {directive} named {directiveArgumentName} if it
23372337
exists.
23382338

2339+
**Resolving Meta-fields**
2340+
2341+
Resolving the _schema coordinate_ of a meta-field is undefined behavior, since
2342+
these fields may be implemented in such a way that makes it impossible to return
2343+
a unique value specific to that instance of the meta-field.
2344+
2345+
Therefore, it is left up to the implementation to decide whether or not to
2346+
return a value for a meta-field. If a value is returned, it must meet the
2347+
requirement that it is unique to that _schema coordinate_.
2348+
23392349
**Examples**
23402350

23412351
| Element Kind | _Schema Coordinate_ | _Schema Element_ |

0 commit comments

Comments
 (0)