Skip to content

Nested create and update operations for mutations with MorphTo relationships #900

@spawnia

Description

@spawnia

It should be possible to create or update models that are related through a MorphTo relationship when issuing a mutation.

The Problem

The create and update operations can not be structured in a straightforward
manner with the current capabilities of GraphQL.

We can either wait for the GraphQL spec to support polymorphic input types
natively or come up with a workaround.

graphql/graphql-spec#114

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA feature or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions