- craft\gql\resolvers\OptionField » craft\gql\base\Resolver
# Protected Properties
|eagerLoadableFieldsByContext||array (opens new window) – Cache fields by context.|
# Public Methods
|getArrayableArguments()||Returns a list of all the arguments that can be accepted as arrays.|
|prepareArguments()||Prepare arguments for use, converting to array where applicable.|
|resolve()||Resolve a field to its value.|
Resolve a field to its value.
mixed) – The parent data source to use for resolving this field
$arguments(array (opens new window)) – Arguments for resolving this field.
mixed) – The context shared between all resolvers
\GraphQL\Type\Definition\ResolveInfo) – The resolve information
# Protected Methods
|extractEagerLoadCondition()||Extract eager load conditions for a given resolve information. Preferrably at the very top of the query.|