You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Subscriptions support (serialization-deserialization only at the moment).
16
+
- Copies documentation from the GraphQL schema to the generated Rust code.
17
+
- Arbitrary derives on the generated responses.
18
+
- Arbitrary custom scalars.
19
+
- Supports multiple operations per query document.
20
20
- Supports setting GraphQL fields as deprecated and having the Rust compiler check
21
21
their use.
22
+
-[web client](./graphql_client_web) for boilerplate-free API calls from browsers.
22
23
23
24
## Getting started
24
25
@@ -150,15 +151,7 @@ There is an [`include`](https://doc.rust-lang.org/cargo/reference/manifest.html#
150
151
151
152
## Examples
152
153
153
-
See the examples directory in this repository.
154
-
155
-
## Roadmap
156
-
157
-
A lot of desired features have been defined in issues.
158
-
159
-
graphql_client does not provide any networking, caching or other client functionality yet. Integration with different HTTP libraries is planned, although building one yourself is trivial (just send the constructed request payload as JSON with a POST request to a GraphQL endpoint, modulo authentication).
160
-
161
-
There is an embryonic CLI for downloading schemas - the plan is to make it something similar to `apollo-codegen`.
154
+
See the [examples directory](./graphql_client/examples) in this repository.
Make boilerplate-free GraphQL API calls from web browsers using [graphql-client](../README.md) and [wasm-bindgen](https://github.com/alexcrichton/wasm-bindgen).
4
+
5
+
For usage details, see the [API docs](https://docs.rs/graphql_client/latest/graphql_client_web/), the [example](../graphql_client/examples/call_from_js) and the [tests](./tests/web.rs).
0 commit comments