Skip to content
This repository was archived by the owner on Feb 10, 2019. It is now read-only.
This repository was archived by the owner on Feb 10, 2019. It is now read-only.

Relay Mutations not working without Facades [relay] [lumen] #210

Closed
@4levels

Description

@4levels

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions