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

The focus so far has been on making valid queries work - we should also ensure that the queries are valid and fail with nice error messages. For example, we...

enhancement

I've got as far as producing a `schema.json` file by sending an introspection query to my backend with `graphql-client`, but I want to produce a `schema.graphql` file; ~or anything that...

I'm trying to setup my queries and for the most part its being accepted by the rust compiler. However the Variables type is acting a bit weird. Basically I have...

I was able to find out about attributes in the code [here](https://github.com/graphql-rust/graphql-client/blob/45faf4a81825425829a6c5ab004e5b621a3c2b35/graphql_query_derive/src/lib.rs#L62), but found them nowhere in the docs (maybe I'm just not looking in the right place?) ```rs let...

enhancement
help wanted
good first issue

This [spec](https://github.com/jaydenseric/graphql-multipart-request-spec) proposes an alternate request format to allow uploading files in graphql requests. It's supported by a lot of client/servers, e.g. async-graphql.

For a while I was trying to figure out why sometimes I'd get an empty response body for GitHub GraphQL requests. Eventually I ended up replacing the `post_graphql` function with...

Hello! I've encountered an issue with the crate: the type generated by the crate from the schema doesn't allow me to omit fields that have a default value generated by...

Hi guys, is it possible to use `Default` trait instead of writing `None` for nullable values. ```rust // current solutions set: StreamsSetInput { id: None, user_id: None, stream_id: None, is_online:...

Hi, I'm using an API where ID are integers, not string. Thus, the generated code by the macro is using `type ID = String`. And it leads to Deserialization error...