You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -59,7 +59,7 @@ Additional usage of constraint directives is to validate output from your resolv
59
59
```php
60
60
$intConstraint; // instance of \Graphpinator\ConstraintDirectives\IntConstraintDirective
61
61
62
-
\Graphpinator\Field\Field::create(
62
+
\Graphpinator\Typesystem\Field\Field::create(
63
63
'year'
64
64
\Graphpinator\Typesystem\Container::Int(),
65
65
)->addDirective(
@@ -73,7 +73,7 @@ $intConstraint; // instance of \Graphpinator\ConstraintDirectives\IntConstraintD
73
73
Special case is `ObjectConstraint` which declares additional information on which fields must be filled. It is a flexible solution to the input-union problem, but can also be applied on Interface/Type to semantically indicate which values are returned.
74
74
75
75
```php
76
-
class DogOrCatInput extends \Graphpinator\Type\InputType
76
+
class DogOrCatInput extends \Graphpinator\Typesystem\InputType
77
77
{
78
78
protected const NAME = 'DogOrCatInput';
79
79
@@ -85,11 +85,11 @@ class DogOrCatInput extends \Graphpinator\Type\InputType
0 commit comments