graphql-client
graphql-client copied to clipboard
Typed, correct GraphQL requests and responses in Rust
This pr aims to address this issue : https://github.com/graphql-rust/graphql-client/issues/433 If there are multiple queries in the same file, they are all concatenated into one string which requires manual adjustments after...
Hi folks. Love the work here and using it in a prototype for workforce analytics. I'm struggling to figure out how to use an Enum in a query and would...
In GraphQL, you should be able to spread an interface or union against a union, as long as there's some type that satisfies both. For example: ``` interface Error {...
I have a type like so: ```graphql type AuthenticationOutput { access_token: String! admin: Boolean! refresh_token: String! } ``` and I'd like to generate a Rust struct for it. The use...
Is subscription fully supported? In the README.md I saw `Subscriptions support (serialization-deserialization only at the moment).` Not sure what this means. Does it mean subscription is not yet supported?
Given an query ```graphql query HomeQuery { viewer { ...home_viewer id } } fragment home_viewer on Customer { id } ``` and a response ```json { "data": { "viewer": {...
Addresses #339
## Description I have a schema where some of the input types are `JSON` which expects json blobs. I've mapped this in the file where I'm deriving things using `type...
The graphql_client optional dependency for reqwest-create seems locked to 0.11 https://github.com/graphql-rust/graphql-client/blob/main/graphql_client/Cargo.toml#L23 What's needed to support use with 0.12? I currently have issues because of conflicting versions if I try to...
This PR makes the serde derives emitted by `#[derive(GraphQLQuery)]` use a private re-export of the serde crate instead of relying on users of this crate having added serde to their...