Skip to content

Commit 838678c

Browse files
committed
section and description
1 parent 991bd1c commit 838678c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spec/Section 6 -- Execution.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,13 @@ ExecuteField(objectType, objectValue, fieldType, fields, variableValues):
558558
* Let {modifiedFieldType} be {ModifiedOutputType(fieldType, requiredStatus)}.
559559
* Return the result of {CompleteValue(modifiedFieldType, fields, resolvedValue, variableValues)}.
560560

561+
## Accounting For Client Controlled Nullability Designators
562+
563+
A field can have its nullability status set either in its service's schema, or
564+
it can be overriden by a designator (! or ?) for the duration of an execution.
565+
In order to determine a field's true nullability, both are taken into account
566+
and a final type is produced.
567+
561568
ModifiedOutputType(outputType, requiredStatus):
562569
* If {requiredStatus} is 'required' and {outputType} is not a Non-Nullable type:
563570
* Return Non-Null with an inner type of {outputType}.

0 commit comments

Comments
 (0)