I get this error when running a api
-
Failed to find class User in namespaces [App, Webkul\GraphQLAPI\Models] for directive @paginate.
I follows this steps ,
https://devdocs.bagisto.com/1.x/graphql-admin-api/installation.html
My code
!
-
Hello @yazan-khayal ,
- as i can see there is no endpoint for graphql api.
- make sure that you have installed graphql properly , you can cross check it by hitting graphql-playground on the browser.
http://domain/graphql-playground
if graphql playground is working fine that means it installed properly else you need to install it properly by following the installation guide.
Thanks!