Guest User

Untitled

a guest
Jan 22nd, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. diff --git a/symfony/src/Nutshell/GraphQL/Type/Property/PropertiesConnection.php b/symfony/src/Nutshell/GraphQL/Type/Property/PropertiesConnection.php
  2. index 7a05a47..d70a273 100644
  3. --- a/symfony/src/Nutshell/GraphQL/Type/Property/PropertiesConnection.php
  4. +++ b/symfony/src/Nutshell/GraphQL/Type/Property/PropertiesConnection.php
  5. @@ -34,7 +34,7 @@ class PropertiesConnection {
  6. 'description' => $description,
  7. 'fields' => [
  8. 'primary' => [
  9. - 'type' => $valueType,
  10. + 'type' => Types::nonNull($valueType),
  11. 'description' => 'The property value marked as the primary one.',
  12. 'resolve' => function (\Nut_Model_Eav_Valueset $valueset): ?\Nut_Model_Eav_Value {
  13. return $valueset->getPrimary();
Add Comment
Please, Sign In to add comment