graphql
graphql copied to clipboard
Implement Object.Definition()
The Object.Definition() method was stubbed to return an empty string. This PR makes it return gt.PrivateDescription.
Coverage increased (+0.05%) to 92.399% when pulling 1119e3cbccc685f97f243ef8a14c6ce5a6a2bea8 on KevinShiCA:master into bed865f0458679ed5309c2cc4bfa82a2f84d8b5f on graphql-go:master.
I just ran into this too, wrote the same patch, then found this PR before opening my own. Please, merge this! It's a one liner, the author even wrote a test for it.