juniper
juniper copied to clipboard
GraphQL server library for Rust
modified: juniper/src/lib.rs modified: juniper/src/schema/model.rs (feat) create schema with custom directives First change for #156
Having a ``` struct Context { a: u32, b: bool, c: String } struct SubContext1 { a: u32, b: bool } struct SubContext2 { a: u32, c: String } ```...
Hi, I’m currently using Juniper 0.16.1 and want to split my root queries across multiple files (to keep each domain’s logic separate). My goal is for all fields to appear...
``` struct Mutation { sub: submodule::Mutation } #[grapql_object()] impl Mutation { fn sub(&self) -> &submodule::Mutation { &self.sub } } mod submodule { struct Mutation; #[grapql_object()] impl Mutation { fn foo()...