graphql-client
graphql-client copied to clipboard
Typed, correct GraphQL requests and responses in Rust
Although not strictly to spec, some upstream graphql implementations such as the start.gg API encode their ID types as integers rather than strings. Prior to this commit, deserialization would fail...
I'm trying to consume the enum from a complex query that involves inline fragments. However, I'm unable to get any of the fragments, neither the as, as mentioned in some...
[feature request] graphql-client-cli has support for json format schema download with ```sh graphql-client introspect-schema $URL ``` it could be nice to allow SDL format (schema definition langage) and do something...
https://relay.dev/docs/guides/required-directive/ It's not part of the spec but it makes working with GraphQL queries as a client much easier. A lot of the code I write looks like `foo.unwrap().bar.baz.unwrap().bam.unwrap()` -...
- find MSRV and set in Cargo.toml - add an MSRV check to CI - add dependabot config - commit lockfile to version control for reproducible CI builds
- splits the two lint jobs into separate targets - pins the clippy toolchain to ensure no surprises
Addresses #446 and provides a way to specify the name of the fallback variant of the Query enum. With `serde_enum_fallback_variant_name=Some("Autre")` you now get an enum like so: ```rust pub enum...
The codegen option fragments_other_variant does not create any change in the code generated. The root cause I ran into was that the schema I was using actually had Other as...
Hi, graphql use string type to represent big integers but the rusts bigint's types deserialise expecting a tuple `(sign, value)` so I'm having issues to deal with big integers. ```rs...