Executing Fields

Each field requested in the grouped field set that is defined on the selected objectType will result in an entry in the response map. Field execution first coerces any provided argument values, then resolves a value for the field, and finally completes that value either by recursively executing another selection set or coercing a scalar value.

ExecuteField

(

objectType

,

objectValue

,

fieldType

,

fields

,

variableValues

)

  1. Let field be the first entry in fields .
  2. Let argumentValues be the result of CoerceArgumentValues ( objectType , field , variableValues )
  3. Let resolvedValue be ResolveFieldValue ( objectType , objectValue , fieldName , argumentValues ) .
  4. Return the result of CompleteValue ( fieldType , fields , resolvedValue , variableValues ) .

results matching ""

    No results matching ""