@@ -72,7 +72,7 @@ |
||
72 | 72 | 'type' => Type::nonNull($types->getOutput(Post::class)), |
73 | 73 | 'args' => [ |
74 | 74 | 'id' => Type::nonNull(Type::id()), // Use standard API when needed |
75 | - 'input' => $types->getPartialInput(Post::class), // Use automated InputObjectType for partial input for updates |
|
75 | + 'input' => $types->getPartialInput(Post::class), // Use automated InputObjectType for partial input for updates |
|
76 | 76 | ], |
77 | 77 | 'resolve' => function ($root, $args): void { |
78 | 78 | // update existing post and flush... |