GraphQLController - undefined method named "json"
jorge-marques opened this issue · comments
Jorge Marques commented
Hi, it looks like there's a bug with GraphQLController
if (!$schemaClass || !class_exists($schemaClass)) {
return $this->json([
['message' => 'Schema class ' . $schemaClass . ' does not exist']
]);
}
It should creating a JsonResponse instead, i think?
Tobias Nawa commented
Packagist is not up to date. I added the repo directly to composer as described here: https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository and required "dev-master".
Portey Vasil commented
Hi,
yes, it was fixed, but there wasn't version with it in composer, so I just added and now you can update bundle.