We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 946d831 commit d0b7e7bCopy full SHA for d0b7e7b
lib/internal/Magento/Framework/GraphQl/Schema/Type/Enum/Enum.php
@@ -33,7 +33,7 @@ public function __construct(EnumElement $configElement)
33
$config['values'][$value->getValue()] = [
34
'value' => $value->getValue(),
35
'description' => $value->getDescription(),
36
- 'deprecationReason'=> $value->getDeprecatedReason()
+ 'deprecationReason' => $value->getDeprecatedReason() ?: null
37
];
38
}
39
parent::__construct($config);
0 commit comments