I'm trying to use this for a batch deletion, but it doesn't work for me.
This is the input created for my table's batch deletion operation:
"""All input for the delete `mnDeleteWidget` mutation."""
input mnDeleteWidgetInput {
"""
An arbitrary string value with no semantic meaning. Will be included in the
payload verbatim. May be used to track mutations by the client.
"""
clientMutationId: String
"""
The one or many `Widget` to be deleted. You must provide the PK values!
"""
mnPatch: [WidgetPatch!]
}
The comment about needing to provide the PK values is important. The problem is that WidgetPatch isn't the PK values. So, the operation fails. The runtime code demands a PK, but the API expects me to pass in something other than the PK.
I'm trying to use this for a batch deletion, but it doesn't work for me.
This is the input created for my table's batch deletion operation:
The comment about needing to provide the PK values is important. The problem is that WidgetPatch isn't the PK values. So, the operation fails. The runtime code demands a PK, but the API expects me to pass in something other than the PK.