This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Description
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