spell-slinger
Joined 8 years ago
Joined 8 years ago
Maybe you should push forward with the problems you want to tackle. Vitamins sell. A lot.
Worked really hard on this open source book about building apps with GraphQL, Node and React.
I appreciate every kind of feedback.
Cheers! Julian
One of the nicest things of GraphQL is the type system indeed. You can use tools like https://www.prisma.io/, which generates a GraphQL backend based on your SQL database.
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!