juniper
juniper copied to clipboard
integration with apollo-rs
cross-posting from https://github.com/apollographql/apollo-rs/issues/103
i'm wondering if there's any overlap between what these two crates are doing? If there's any scope for these two crates pulling together, rather than fragmenting the ecosystem, that would be a win
I'm no expert, but it looks like https://github.com/apollographql/apollo-rs offers 2 crates:
- an encoder to generate a schema using a Rust API, but it is not the same as generating a schema from your structs and enums
- a parser to make the schema and query structure available via Rust API, which is not the same as generating Rust structures and resolvers
I suspect that the needs of this project in terms of parsing a schema are different from apollo-rs so their crates cannot be re-used. It may seem like fragmentation, but in fact both projects serve totally different use cases.
It would be good if this was mentioned in Juniper docs.