Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Collisions in generated mutations if a graphql type has a field and schema has another type which name consists of previously mentioned type and field #591

Open
timurgen opened this issue Mar 2, 2021 · 1 comment

Comments

@timurgen
Copy link

timurgen commented Mar 2, 2021

GraphQL schema to reproduce

type Document {
    id: String!
    title: String!
    type: [DocumentType] @relation(name: "HAS_TYPE", direction: OUT)
}

type DocumentType {
    id: String!
    label: String!
}

Mutation MergeDocumentType to ensure item of DocumentType type exists in database will be overridden by mutation to ensure relations between Document and DocumentType

@michaeldgraham
Copy link
Collaborator

#608

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants