AEB-labs / graphql-weaver

A tool to combine, link and transform GraphQL schemas
MIT License
240 stars 20 forks source link

Fix scalar type implementations #24

Closed Yogu closed 6 years ago

Yogu commented 6 years ago

parseLiteral() should create a JSON value from a ValueNode; parseValue should validate and coerce a JSON value. Since we just want to pass the values through to the underlying endpoint, we use a JSON type implementation that does exactly this.

Fixes #20.