Open msakrejda opened 8 years ago
We have three examples with graphql-tools here: http://dev.apollodata.com/tools/graphql-tools/scalars.html
The syntax is a bit different, but the functions are the same. Perhaps we can move those docs to the graphql-js docs here.
Yes, I think that would be great. That page doesn't describe the semantics of these methods, though (except for some one-liner comments). A short blurb on that for each method would be really helpful.
I was trying to create a custom scalar type by reading the docs, but what's there is very vague and confusing:
I think the GraphQL docs are fantastic overall, but this section was not clear at all.