We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5030587 commit 2c09f29Copy full SHA for 2c09f29
src/Plugin/GraphQL/DataProducer/DataProducerPluginBase.php
@@ -50,8 +50,8 @@ public function resolveField(FieldContext $field) {
50
if (!method_exists($this, 'resolve')) {
51
throw new \LogicException('Missing data producer resolve method.');
52
}
53
- $populateDefaulktValues = $this->configuration['dataproducer_populate_default_values'] ?? TRUE;
54
- $context = $populateDefaulktValues ? $this->getContextValuesWithDefaults() : $this->getContextValues();
+ $populateDefaultValues = $this->configuration['dataproducer_populate_default_values'] ?? TRUE;
+ $context = $populateDefaultValues ? $this->getContextValuesWithDefaults() : $this->getContextValues();
55
return call_user_func_array(
56
[$this, 'resolve'],
57
array_values(array_merge($context, [$field]))
0 commit comments