Version: Next ๐ง
Debugging Declarative Mutation Directives
If you see an error similar to:
or
This probably means that you are using a Relay environment to which a handlerProvider
is passed. However, the handler provider does not know how to accept the handles "deleteRecord"
, "appendEdge"
or "prependEdge"
. If this is the case, you should return MutationHandlers.DeleteRecordHandler
, MutationHandlers.AppendEdgeHandler
, or MutationHandlers.PrependEdgeHandler
respectively (these can be imported from relay-runtime
).