test_shisho_gql_derive

Derive Macro ShishoGraphQLQuery

Source
#[derive(ShishoGraphQLQuery)]
{
    // Attributes available to this derive:
    #[shisho_graphql]
}
Expand description

Construct Rust structs by the referred GraphQL schema of Shisho Cloud.

ยงExamples

Construct Rust structs by the referred GraphQL schema of Shisho Cloud.

#[derive(ShishoGraphQLQuery)]
#[shisho_graphql(
   query_path = "src/policies/organization/org_owners/query.graphql",
   response_derives = "Debug, PartialEq"
)]