graphql-extract 0.0.13

Macro to extract data from deeply nested types representing GraphQL results
Documentation
struct Query {
    address: Option<Address2>,
}

struct Address2 {
    address: String,
}

type Item = Result<(MoveType, String), &'static str>;

fn extract(data: Option<Query>) -> Result<(u64, impl Iterator<Item = Item>), &'static str> {
    use graphql_extract::extract;
    use DynamicFieldValue::MoveValue;

    extract!(data => {
    });
    Ok((version, nodes))
}

fn main() {}