Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/symfony/src/Nutshell/GraphQL/Type/Property/PropertiesConnection.php b/symfony/src/Nutshell/GraphQL/Type/Property/PropertiesConnection.php
- index 7a05a47..d70a273 100644
- --- a/symfony/src/Nutshell/GraphQL/Type/Property/PropertiesConnection.php
- +++ b/symfony/src/Nutshell/GraphQL/Type/Property/PropertiesConnection.php
- @@ -34,7 +34,7 @@ class PropertiesConnection {
- 'description' => $description,
- 'fields' => [
- 'primary' => [
- - 'type' => $valueType,
- + 'type' => Types::nonNull($valueType),
- 'description' => 'The property value marked as the primary one.',
- 'resolve' => function (\Nut_Model_Eav_Valueset $valueset): ?\Nut_Model_Eav_Value {
- return $valueset->getPrimary();
Add Comment
Please, Sign In to add comment