Skip to main content

CreateRelationInput

Input for the createRelation mutation

input CreateRelationInput {
end: ID!
endParts: [ID!]
start: ID!
startParts: [ID!]
template: ID!
templatedFields: [JSONFieldInput!]!
}

Fields

CreateRelationInput.end ● ID! non-null scalar

The end RelationPartner of the Relation

CreateRelationInput.endParts ● [ID!] list scalar

If end is an Interface, the parts of the Interface the created Relation includes

CreateRelationInput.start ● ID! non-null scalar

The start RelationPartner of the Relation

CreateRelationInput.startParts ● [ID!] list scalar

If start is an Interface, the parts of the Interface the created Relation includes

CreateRelationInput.template ● ID! non-null scalar

The template of the created Relation

CreateRelationInput.templatedFields ● [JSONFieldInput!]! non-null input

Initial values for all templatedFields

Member of

BulkCreateRelationInput input ● createRelation mutation