graphql-client
graphql-client copied to clipboard
Typed, correct GraphQL requests and responses in Rust
This library seems to be lacking support for JSONObject, or maybe I'm holding it wrong. ```graphql mutation TestMutation($user_data: JSONObject) { testMutation(uuid: $uuid, userData: $user_data) { uuid } } ``` JSONObject...
We noticed recently that when we built a query and accidentally added a query variable, and then passed that variable as an argument to a field in an operation that...
Each query will cause this crate to re-generate the code for the entire schema. This results in increased compile time and not being able to share structs between different queries....
In my case, i need to use ``null`` for graphql, some like : ``` stargazers(first: 1,after: null) { ... } ``` I tried the way query.graphql ``` query RepoView($owner: String!,...
Hello, recently I've upgraded `graphql-client` version from 0.9.0 to 0.10.0 and the variable renaming of nested structs defined in graphql does not rename the variables using camel case anymore. I...
### Background Cheers, I am working on an API that needs to communicate with external graphql services. These services require that I include headers with keys for authorization. I have...
I am trying to use a `.graphql` file generated in the build process using `build.rs` instead of a static one. However, changing lines ```rust #[derive(GraphQLQuery)] #[graphql( schema_path = "src/schema.graphql", query_path...
I changed the default branch for the repo from `master` to `main`. I replaced the branch names in all internal links, so these shouldn't be broken. This still had a...
When I use a hardcoded float in my mutation I see multiple lines being printed to the console during `cargo watch`: ``` object: { quantity: 1.2 } ```  it says, that an `Int` is an `i32` > Int: A signed 32‐bit integer. but rust tells me, that an `i64` is generated? ``` error[E0308]: mismatched types...