wallslide
04/04/2017, 3:05 AMtype EventPayment {
id: ID!
log: [EventPaymentLog!]! @relation(name: "EventPaymentLogOnEventPayment")
status: EVENT_PAYMENT_STATUS!
}
I want to update the EventPayment with a new status and log entry. What is the syntax for adding a new log entry? Can I do that using a nested mutation, or is that not possible since there's a one-to-many relationship between EventPayment and EventPaymentLog?nilan
04/04/2017, 8:15 AMcreateEventPaymentLog(eventPaymentId: "<id>")nilan
04/04/2017, 8:16 AMwallslide
04/05/2017, 4:54 AMwallslide
04/05/2017, 4:55 AMcreateEventPaymentLog.