graphql-go / relay

A Go/Golang library to help construct a graphql-go server supporting react-relay.
MIT License
424 stars 58 forks source link

Bug: MutationFn error parameter #12

Closed pyrossh closed 8 years ago

pyrossh commented 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.

chris-ramon commented 8 years ago

closing this one, resolved with https://github.com/graphql-go/relay/pull/16 :+1: - again thanks for reporting it @pyros2097 :+1: