graphql-client icon indicating copy to clipboard operation
graphql-client copied to clipboard

Typed, correct GraphQL requests and responses in Rust

Results 127 graphql-client issues
Sort by recently updated
recently updated
newest added

When this issue was happening I was using the derive macro, however the compile error was very strange. Warning about taking a str. I switch to the code gen method...

bug

I have a mutation: ```gql mutation StartThread( $commit_hash: String! $file_path: String! $line_number: Int! $body: String! $author_github_node_id: String! ) { # Make sure that we have an entry in the `lines`...

In a graphql file, I have two mutations with `$input` as a variable, like: ```graphql mutation CreateProject($input: CreateProjectInput!) { createProject(input: $input) { ... } } mutation CreateScope($input: CreateScopeInput!) { createScope(input:...

bug
good first issue

Currently all operations need to be in the same file if you want to be able to share fragments. I would be nice if we could specify a list of...

Before using this crate I've never had used GraphQL before, so I got many errors and didn't realize that serde was also needed to use the derive plus I didn't...

enhancement
good first issue

Is it because I'm using `mod query`? (my generated file is `src/queries.rs`) ``` warning: unused import: `std::result::Result` --> src/queries.rs:4:9 | 4 | use std::result::Result; | ^^^^^^^^^^^^^^^^^^^ ```

We should probably look at how this is implemented in other GraphQL clients that work in browsers, Apollo for example. I haven't worked with subscriptions much personally, so I will...

enhancement
help wanted

I am able to successfully compile examples that have variables such as ```graphql query PuppySmiles($after: String) { reddit { subreddit(name: "puppysmiles") { newListings(limit: 6, after: $after) { title fullnameId url...

bug
help wanted

I'm working on a project that will break down a single GraphQL query into a number of smaller requests suitable for caching. As part of that, I'd like to be...