Skip to content

Dynamically adding mutations #314

Closed
Closed
@MarkAndrewJohnson

Description

@MarkAndrewJohnson

To make a modular system we want to add mutations dynamically after creating the core schema object. For example in a subsequently loaded file graphql.user.js (graphql.organisation.js, and so on) to add user operations (mutations and queries).

I can't seem to find a way to add mutations in this manner that doesn't break graphiql in one way or another. Is there a recommended way for a modular schema implementation?

Documentation would certainly help with this scenario.

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