Relay Mutations not working without Facades [relay] [lumen] #210
Description
Hi Folklore atlier,
I'm trying to create a mutation but I keep running into issues and it seems related to the fact I'm not using Facades. Could it be that your implementation relies on Facades?
From my personal point of view, I believe Facades are userland tools and do not belong into libraries like this (I have a similar issue with Laravel's Passport library that's also using facades).
If I simply change the calls from GraphQL::type()
to app('graphql')->type()
it seems to work as expected
I still have no success with the GraphiQL interface as well, it keep spitting errors Error: Introspection must provide input type for arguments.
But that's probably related to my newbee attempts to create a mutation.
Can you comment on this? Does your library work at your end with Lumen and without Facades?
Kind regards,
Erik