test-shisho-datasource

Crates.iotest-shisho-datasource
lib.rstest-shisho-datasource
version0.1.3
sourcesrc
created_at2022-11-09 04:34:59.131493
updated_at2022-11-09 06:05:15.431727
descriptionThis is the utility for Shisho Cloud Policy SDK.
homepage
repository
max_upload_size
id708540
size177,065
yoshi (y-matsutomo)

documentation

https://docs.rs/test-shisho-datasource

README

The Derive Macro for Shisho Policy GraphQL Schema

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.

Example usage

use shisho_datasource::*;

...

#[allow(dead_code)]
#[derive(InputQuery)]
#[graphql(
    query_path = "src/policies/organization/org_owners/query.graphql",
    derives = "Debug, PartialEq"
)]
pub struct Input;

...

Reference

Commit count: 0

cargo fmt