Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integration with apollo-rs #992

Open
danieleades opened this issue Nov 8, 2021 · 1 comment
Open

integration with apollo-rs #992

danieleades opened this issue Nov 8, 2021 · 1 comment

Comments

@danieleades
Copy link
Contributor

cross-posting from apollographql/apollo-rs#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

@rimutaka
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants