Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn if an interface's resolver has a ToTYPE implementation that does…
… not return two values. Currently this instead crashes fairly inscrutably at runtime here: https://github.com/neelance/graphql-go/blob/master/internal/exec/exec.go#L117 An alternate fix would be to check len(out) there and perhaps rely on out[0] being nil to continue if there's only one return value.
- Loading branch information