Closed pyrossh closed 8 years ago
The MutationFn should return (map[string]interface{}, error) and when resolving the field in MutationWithClientMutationID we need to return that error right now your are returning nil so we still need to use panics.
return (map[string]interface{}, error)
closing this one, resolved with https://github.com/graphql-go/relay/pull/16 :+1: - again thanks for reporting it @pyros2097 :+1:
The MutationFn should
return (map[string]interface{}, error)
and when resolving the field in MutationWithClientMutationID we need to return that error right now your are returning nil so we still need to use panics.