lefevre
04/03/2018, 3:40 PMtype ParentObject @model {
id: ID! @isUnique
child: ChildObject
@relation(name: "ChildObjectOnParentObject")
property1: String
}
type ChildObject @model {
id: ID! @isUnique
parent: ParentObject! @relation(name: "ChildObjectOnParentObject")
property2: String
}
Using Graphcool framework and the relay spec, is it possible in one mutation to update property1 of the parent and it's the related childs property2 or does it have to be two seperate update mutations? 🙂nilan
04/03/2018, 7:20 PM