Closed jumperdenfer closed 5 years ago
Call to undefined method GraphQL\GraphQL::type()
In your very first class class AuditType
you have:
use GraphQL\GraphQL;
That's supposed to reference the Facade (you got it right in class AuditQuery
):
use use Rebing\GraphQL\Support\Facades\GraphQL;
Does that solve it?
@mfn Yeah ! thx, that solved one of my problems :p
Hello everyone, I need a little help, i want to resolve a fields by getting resource from another Type ( like an tree of data ) i have 2 Types and 2 Queries my first type :
My second type :
My querie For AuditType :
And for CategorieType
my Config file :
actually i get the error
Call to undefined method GraphQL\GraphQL::type()