Crates.io | test-shisho-gql-derive |
lib.rs | test-shisho-gql-derive |
version | 0.11.10 |
source | src |
created_at | 2022-11-02 10:31:11.909243 |
updated_at | 2022-11-08 01:07:18.982527 |
description | This is the utility for Shisho Cloud Policy SDK. |
homepage | |
repository | |
max_upload_size | |
id | 703417 |
size | 10,973 |
This is a helper crate for Shisho Cloud workflows to write custom policies.
This is the utility for shisho-policy-sdk
which is a derive macro
to allow referring a graphql query as Rust structs.
use shisho_gql_derive::*;
...
#[allow(dead_code)]
#[derive(ShishoGraphQLQuery)]
#[shisho_graphql(
query_path = "src/policies/organization/org_owners/query.graphql",
response_derives = "Debug, PartialEq"
)]
pub struct Input;
...
graphql-client/graphql_query_derive
schema_path
.