top | item 16978925

(no title)

spell-slinger | 7 years ago

Glad you found it useful!

Sorry for the cryptic error. That happens because the two objects in the comments array reference post_id. If you change those keys to book_id everything should work.

The algorithm for generating a GraphQL schema from a JSON object could be improved, along with its error handling. I use the algorithm from this repo: https://github.com/marmelab/graphql-schema-from-json. Error messages come from there.

I'll work on improving this tool and make it more user friendly. But I think that it is worth sharing it, even at this stage.

Cheers!

discuss

order

No comments yet.