Skip to main content

RelationInput

Input to the setRelation mutation.

input RelationInput {
object: ObjectSelector
relationType: RelationTypeSelector!
subject: ObjectSelector
source: ObjectSelector
target: ObjectSelector
}

Fields

RelationInput.object ● ObjectSelector input objects

The relation's object.

RelationInput.relationType ● RelationTypeSelector! non-null input relation-types

The relation type.

RelationInput.subject ● ObjectSelector input objects

The relation's subject.

RelationInput.source ● ObjectSelector input objects

The source object. Deprecated: use object instead.

RelationInput.target ● ObjectSelector input objects

The target object. Deprecated: use subject instead.

Member of

deleteRelation mutation ● setRelation mutation