juniper
juniper copied to clipboard
GraphQL server library for Rust
we store the name of each field as a string. Fields are likely on average pretty short (think "id", "name", etc) and are read more than written. We should investigate...
**Is your feature request related to a problem? Please describe.** Feeding Juniper queries which have wrong semantics sometimes result in panics. Recently came across a similar issue as https://github.com/graphql-rust/juniper/issues/407. At...
When writing crates, I tend to add the `#![warn(missing_docs)}` directive to enforce the use of documentation on publicly accessible apis. With the way the proc macro transforms the implementation block,...
This project makes nice errors: https://github.com/brendanzab/codespan We should consider using it.
We should add optional (off by default) tracing. For an example, see https://github.com/seanmonstar/warp/pull/655/files.
Currently there's no way to know if a request contains a subscription operation until you try to execute it. This is a problem for example in our graphql-ws implementation, which...
https://docs.rs/rowan/0.10.0/rowan/index.html See https://rdambrosio016.github.io/rust/2020/09/18/pure-ast-based-linting-sucks.html#problems-with-asts
Hello folks, I propose to tweak the documentation generation process generally according to the following rules: * If a commit has a tag like "juniper-n.n.n" then use that tag as...
Const functions could possibly be used to handle certain things at compile time. We should investigate.
Say when writing a custom error: ```rust #[derive(thiserror::Error, Debug, Deserialize, Serialize)] #[serde(tag = "type", content = "data")] enum SomeError { #[error("SomeError Item: arg1: {arg1}, arg2: {arg2}")] Item { arg1: String,...