Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.
This repository was 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

Description

@timurgen

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

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