Crates.io | test-shisho-datasource |
lib.rs | test-shisho-datasource |
version | 0.1.3 |
source | src |
created_at | 2022-11-09 04:34:59.131493 |
updated_at | 2022-11-09 06:05:15.431727 |
description | This is the utility for Shisho Cloud Policy SDK. |
homepage | |
repository | |
max_upload_size | |
id | 708540 |
size | 177,065 |
This is a helper crate for Shisho Cloud workflows to write custom policies.
This is the utility for shisho-policy
which is a derive macro
to allow referring a graphql query as Rust structs.
use shisho_datasource::*;
...
#[allow(dead_code)]
#[derive(InputQuery)]
#[graphql(
query_path = "src/policies/organization/org_owners/query.graphql",
derives = "Debug, PartialEq"
)]
pub struct Input;
...
graphql-client/graphql_query_derive
schema_path
.