Having another problem with the library.
This is completely valid mutation. It allows me to remove coordinator from event.
mutation UpdateEvent {
updateEvent(input: { id: "Event:1", coordinatorId: null }) {
...
}
But, generated code does not allow me create that mutation, as it requires input value to be specified. In this case it's Graph.Id. There definitely should be Maybe Graph.Id and conditional handling.
coordinatorId : Graph.Id -> UpdateEventInput -> UpdateEventInput
coordinatorId newArg_ inputObj_ =
GraphQL.Engine.addField
"coordinatorId"
"ID"
(Graph.id.encode newArg_)
inputObj_
Thx.
Having another problem with the library.
This is completely valid mutation. It allows me to remove coordinator from event.
But, generated code does not allow me create that mutation, as it requires input value to be specified. In this case it's Graph.Id. There definitely should be
Maybe Graph.Idand conditional handling.Thx.