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
For the first look, it seems lighthouse issue. The CanAction type defined in BaseCanDirective::commonTypes(), but the method called in CanFindDirective::definition() only. So seems if @canFind directive is not used in the schema, the type will never add to the schema.
Hello,
I have latest version of Laravel, Lighthouse and Lara ASP. I have simple code that prints schema in SDL:
but that code generates error:
But this type should be registered by Lighthouse: https://lighthouse-php.com/6/api-reference/directives.html#can-family-of-directives.
There is no info in Lighthouse docs about adding additional ServiceProvider or something.
The text was updated successfully, but these errors were encountered: