Skip to content

Make _stitching.gql work without Query type #2

@morris

Description

@morris

In stitching scenarios, a downstream service may only expose mutations. In that case, the generated _stitching.gql is invalid because it extends type Query. Workaround is to add type Query with a deprecated, unused field.

In the future, graphqlade should detect the presence of type Query and adjust _stitching.gql accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions