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

Tests use old format for ResolveTypeFn #26

Closed object88 closed 6 years ago

object88 commented 8 years ago

I'm raising this mostly because I started poking at graphql-go/relay, /graphql, and the starter kit, and got a little confused. In node_test.go and node_global_test.go, the calls to NewNodeDefinition take the wrong prototype for the TypeResolve parameter. Fixing this so simple, even I was able to figure it out!

My questions, then, ...

object88 commented 6 years ago

PR merged; closing issue. Thanks, everyone!