juniper icon indicating copy to clipboard operation
juniper copied to clipboard

GraphQL server library for Rust

Results 129 juniper issues
Sort by recently updated
recently updated
newest added

**Describe the bug** A badly formatted query can result in a panic: `resolve() must be implemented by non-object output types`. **To Reproduce** Using the API at https://github.com/MHRA/products/tree/4b8712cb9f7b1b15d3f120db8792d4033586343e/medicines/api, I was trying...

bug

**Describe the bug** In [GraphQL Java](https://github.com/graphql-java/graphql-java-extended-scalars#object--json-scalars), JSON Scalar is supported, so I can write the following query: ``` query { user(input : { id : "216ae7d9-cbe7-4d6e-9968-33e3424da0fe", badges : { Github...

bug
needs-triage

**Is your feature request related to a problem? Please describe.** Now, resolver signature looks like: `fn field(&self, /*args*/)`. This can easily lead to N + 1 DB query problem. (Or...

docs

Is it possible to access `Context` when defaulting fields for `GraphQLInputObjects`? (I don't believe it is...) I think it would be really useful to support dynamic defaulting of input field...

enhancement

**Describe the bug** `FieldError::from` and `error.into_field_error` have different behaviors. The former one has no `extensions` field, but the latter one has. **To Reproduce** ```rust #[derive(thiserror::Error, Debug, Deserialize, Serialize)] enum SomeError...

**Describe the bug** Errors that occur in a list of items do not have the index in the path. **To Reproduce** Steps to reproduce the behavior: Building off the actix_web...

bug

Looks like Relay has a [thin layer on top of GraphQL](https://facebook.github.io/relay/docs/graphql-relay-specification.html). Would adding (optional?) Relay support be in scope for `juniper`?

enhancement

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] I want to display...

enhancement

I need to have a generic context that is instantiated differently in testing. (The context contains a handler to the DB that is mocked during tests). In non-test mode, the...

In [juniper-from-schema] we have a feature called [`QueryTrail`](https://docs.rs/juniper-from-schema/0.5.0/juniper_from_schema/index.html#query-trails). That is basically a type safe look ahead that guarantees that you only check for valid fields. I've been thinking if something...

enhancement