Crate juniper_codegen[−][src]
Expand description
This crate supplies custom derive implementations for the juniper crate.
You should not depend on juniper_codegen directly.
You only need the juniper
crate.
Attribute Macros
#[graphql_interface]
macro for generating a GraphQL interface implementation for traits
and its implementers.
The object
proc macro is the primary way of defining GraphQL resolvers
that can not be implemented with the GraphQLObject derive.
Expose GraphQL scalars
A proc macro for defining a GraphQL subscription.
#[graphql_union]
macro for deriving a GraphQL union implementation for traits.
Derive Macros
This custom derive macro implements the #[derive(GraphQLScalarValue)] derive.
#[derive(GraphQLUnion)]
macro for deriving a GraphQL union implementation for enums and
structs.