juniper
juniper copied to clipboard
GraphQL server library for Rust
Custom scalar integration policy / decide what (if anything) to do about smaller crate integrations
See https://github.com/graphql-rust/juniper/pull/165#issuecomment-416403522. There will always be a push and pull of wanting to put integrations in juniper vs keeping them out. I think this will come up more and more...
Should resolve #1102 > ## Problem > Attempts to use any other hyper request type aside `Request` fails with a compile-time error of type mismatch > ## Solution > Add...
I've been struggling to figure out the best way to implement a generic rust enum as a GraphQL union. ### Objective My goal is to have a generic enum type...
Closes #820 I did not detect any apparent double boxing issues here however I refactored the code to use the custom `AsyncValueFuture` enum and eliminate the unnecessary `async move` closure....
Check media type using `starts_with` instead of full string matching. Fixes #1288
Given a valid POST with Content-Type header like: `application/json; charset=utf-8`. juniper_axum responds with: 415 Unsupported Media Type > `Content-Type` header is expected to be either `application/json` or `application/graphql` This is...
**Describe the bug** I believe Juniper isn't spec compliant in how it's handling field error propagation. Relevant excerpt from the GraphQL spec about how to handle field errors on non-nullable...
**Is your feature request related to a problem? Please describe.** I would like to enable a graphql field only if a cargo feature is set. `#[cfg(feature = "myfeature")]`. **Describe the...
**Is your feature request related to a problem? Please describe.** Currently, the `Schema` trait is only implemented for `Arc`. `Arc` creates overhead that can be avoided for permanent resources. **Describe...