graphql-client
graphql-client copied to clipboard
Typed, correct GraphQL requests and responses in Rust
The proposal is pretty much in the title. Right now we do not generate code for selected deprecated fields, but we could give a good explanatory compiler error, with the...
I'm trying out this library and GraphQL for the first time. My usage of graphql-rust is [here](https://github.com/colindean/ledger-getquote-blocktap/blob/rust/src/single_currency.rs) and the schema is [here](https://github.com/colindean/ledger-getquote-blocktap/blob/rust/schema/blocktap.json). ``` $ cargo test Compiling ledger-getquote-blocktap v0.1.0 (/Users/colin/Source/Altangent/ledger-getquote-blocktap)...
I think this comes down to there only being 3 tracks right now. It would be faster to do the WASM tests in a separate job pipeline. `cargo fmt`/`prettier` and...
``` #[derive(GraphQLQuery)] | ^^^^^^^^^^^^ | = help: message: unnamed operation ``` Project fails to compile with the error above. here are my imports: ``` use graphql_client::*; use wasm_bindgen::prelude::*; use web_sys::console;...
It would need to be a wrapper - request and response configuration do not vary, and we want to link variables, queries and response shapes. We would get: - an...
To be discussed: versioning. @h-michael
This is a placeholder/WIP issue to gather what we need before a 1.0 release. The library has settled down a lot in the recent months and I think we can...
See https://github.com/graphql-rust/graphql-client/pull/289 cc @mathstuf
`rustc 1.32.0-nightly (9fefb6766 2018-11-13)` ## Steps to reproduce: ```sh git clone --depth 1 https://github.com/graphql-rust/graphql-client.git cargo build && cargo build --release # Just to cover the bases cd graphql_client_cli cargo install...
We should point to the right attribute in case of errors like missing query or schema file. We can do this using the [proc-macro-error](https://crates.io/crates/proc-macro-error) crate.