Open dat2 opened 8 years ago
Another idea is to have the API like this:
schema.resolve(parsed_query, resolver)
Where resolver is the root Resolver, and Resolver is a trait users implement.
Another idea to improve caching: promise.race for an array of resolvers
Similar to the JavaScript implementations, I am thinking we should have a way to parse schema strings to rust types.
Similar to https://github.com/maciejhirsz/json-rust, I would also like the ability to create a graphql schema using macros.