juniper-from-schema

crates.io Documentation

This library contains a procedural macro that reads a GraphQL schema file, and generates the corresponding Juniper [macro calls]. This means you can have a real schema file and be guaranteed that it matches your Rust implementation. It also removes most of the boilerplate involved in using Juniper.

See the crate documentation for a usage examples and more info.