Crate juniper_codegen_puff

Source
Expand description

§juniper_codegen_puff crate

This is a pre-release of juniper_codegen current master with no changes for use with puff-rs.

Attribute Macros§

graphql_interface
#[graphql_interface] macro for generating a GraphQL interface implementation for traits and its implementers.
graphql_object
#[graphql_object] macro for generating a GraphQL object implementation for structs with computable field resolvers (declared via a regular Rust impl block).
graphql_scalar
#[graphql_scalar] macro.is interchangeable with #[derive(GraphQLScalar)] macro, and is used for deriving a GraphQL scalar implementation.
graphql_subscription
#[graphql_subscription] macro for generating a GraphQL subscription implementation for structs with computable field resolvers (declared via a regular Rust impl block).
graphql_union
#[graphql_union] macro for deriving a GraphQL union implementation for traits.

Derive Macros§

GraphQLEnum
#[derive(GraphQLEnum)] macro for deriving a GraphQL enum implementation for Rust enums.
GraphQLInputObject
#[derive(GraphQLInputObject)] macro for deriving a GraphQL input object implementation for a Rust struct. Each non-ignored field type must itself be GraphQL input object or a GraphQL scalar.
GraphQLInterface
#[derive(GraphQLInterface)] macro for generating a [GraphQL interface][1] implementation for traits and its implementers.
GraphQLObject
#[derive(GraphQLObject)] macro for deriving a GraphQL object implementation for structs.
GraphQLScalar
#[derive(GraphQLScalar)] macro for deriving a GraphQL scalar implementation.
GraphQLUnion
#[derive(GraphQLUnion)] macro for deriving a GraphQL union implementation for enums and structs.
ScalarValue
#[derive(ScalarValue)] macro for deriving a ScalarValue implementation.