Expand description
Some procedural macros taking a GraphQL schema, and generating structs for all types in the schema with data resolution impls, along with a juniper::RootNode ready for execution.
Macros§
- graphql_
schema - Generates a juniper::RootNode and structs with data resolution impls from a literal schema in code. This is predominantly used for tests. Most likely, clients of this crate would instead use graphql_schema_from_file!.
- graphql_
schema_ from_ file - Generates a juniper::RootNode and structs with data resolution impls from a schema file path relative to the callee’s crate root.