The documentation for the GraphQLScalarType is outdated compared with the current code. For instance, parseLiteal takes a valueNode and a variables parameter instead of just one valueAST parameter (I think that was changed in 0.12), and there are some more differences.
The documentation for the GraphQLScalarType is outdated compared with the current code. For instance,
parseLitealtakes a valueNode and a variables parameter instead of just one valueAST parameter (I think that was changed in 0.12), and there are some more differences.