Commit Graph

1222 Commits

Author SHA1 Message Date
Sunli
5c39d0197d Rename InputValueType to InputType and OutputValueType to OutputType. 2020-12-11 15:37:50 +08:00
Sunli
ad7b025e70 Disable HTTP GET test for tide. 2020-12-05 09:49:50 +08:00
Sunli
d388ee6760 Release 2.1.7
async-graphql@2.1.7
async-graphql-actix-web@2.1.7
async-graphql-tide@2.1.7
async-graphql-warp@2.1.7

Generated by cargo-workspaces
2020-12-05 08:44:39 +08:00
Sunli
6f81689827 Update Cargo.toml 2020-12-05 08:41:10 +08:00
Sunli
2a7863cc3b Merge pull request #350 from pfernie/graphql-ws-subproto
Detect subprotocol for GraphQL Over WebSocket subscriptions
2020-12-05 08:34:08 +08:00
Patrick Fernie
6f3e861e27 support client specifying multiple protocols in Sec-WebSocket-Protocol negotiation 2020-12-04 12:16:14 -05:00
Sunli
b3bd8603e3 Add tests for graphql-ws. 2020-12-04 16:44:48 +08:00
Sunli
06bd349dde Add WSSubscription::start_with_initializer and update examples. 2020-12-04 12:35:35 +08:00
Sunli
46d01db40f Merge branch 'master' into pr/350 2020-12-04 12:17:23 +08:00
Sunli
4b00f9393a Add websocket subprotocol for actix-web. 2020-12-04 12:13:52 +08:00
Patrick Fernie
e25bcf1c98 use Sec-WebSocket-Protocol header to negotiate protocol 2020-12-03 16:16:07 -05:00
Patrick Fernie
0e711b782e rustfmt fixes 2020-12-02 08:41:12 -05:00
Patrick Fernie
7fb6d7bfbe Add graphql-ws feature for subprotcol selection
On 2020-09-14 a revised version of the [GraphQL over
WebSocket](https://the-guild.dev/blog/graphql-over-websockets) spec was
released as [graphql-ws](https://github.com/enisdenjo/graphql-ws), which
differs from the de facto standard implemented by
[subscriptions-transport-ws](https://github.com/apollographql/subscriptions-transport-ws).

This adds a new `cargo` (non-default) feature, `graphql_ws`, which when enabled utilizes the new protocol spec.

Original [subscriptions-transport-ws
protocol](https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md)
Revised [graphql-ws
protocol](https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md)
2020-12-02 08:13:00 -05:00
Sunli
33b279c88b Release 2.1.6
async-graphql@2.1.6
async-graphql-actix-web@2.1.6
async-graphql-tide@2.1.6
async-graphql-warp@2.1.6

Generated by cargo-workspaces
2020-11-30 19:43:08 +08:00
Sunli
83b659bafb Add Context::field function. #346 2020-11-30 19:41:35 +08:00
Sunli
67be4cb541 Update examples 2020-11-30 14:20:15 +08:00
Sunli
6cdd7e44a3 Update upload.rs 2020-11-30 13:47:00 +08:00
Sunli
3a0dda2224 Remove the dependency on bytes crate. 2020-11-30 13:43:17 +08:00
Sunli
84902a6679 Bump futures-util from 0.3.6 to 0.3.8
Bump pin-project-lite from 0.1.10 to 0.2.0
Bump spin from 0.6.0 to 0.7.0
Bump bytes from 0.5.4 to 0.6.0
2020-11-30 13:08:27 +08:00
Sunli
825945f056 Merge pull request #347 from arlyon/patch-1
Bump tide to 0.15.0
2020-11-30 12:54:30 +08:00
Alexander Lyon
2b6a7a8e3d Bump tide to 0.15.0 2020-11-27 10:11:55 +00:00
Sunli
d5e2e34b41 Release 2.1.5
async-graphql@2.1.5
async-graphql-actix-web@2.1.5
async-graphql-tide@2.1.5
async-graphql-warp@2.1.5

Generated by cargo-workspaces
2020-11-27 10:26:49 +08:00
Sunli
9b10ebeab5 Fix the problem that the fields of the list are not merged correctly.#345 2020-11-27 10:26:23 +08:00
Sunli
3c83a48a81 Update examples 2020-11-27 09:28:06 +08:00
Sunli
6350030853 Release 2.1.4
async-graphql@2.1.4
async-graphql-actix-web@2.1.4
async-graphql-derive@2.1.4
async-graphql-tide@2.1.4
async-graphql-warp@2.1.4

Generated by cargo-workspaces
2020-11-23 12:51:43 +08:00
Sunli
3a5cc3aae2 Clippy clean 2020-11-23 12:50:35 +08:00
Sunli
997faa9c71 Fix #343 2020-11-23 12:43:31 +08:00
Sunli
e9fb053dae Release 2.1.3
async-graphql@2.1.3
async-graphql-actix-web@2.1.3
async-graphql-derive@2.1.3
async-graphql-tide@2.1.3
async-graphql-warp@2.1.3

Generated by cargo-workspaces
2020-11-22 09:54:14 +08:00
Sunli
12b3b0ee46 Fix async_graphql::Object does not work when inside macro after rust 1.48.0 2020-11-22 09:53:18 +08:00
Sunli
5c9f25662e Release 2.1.2
async-graphql@2.1.2
async-graphql-actix-web@2.1.2
async-graphql-derive@2.1.2
async-graphql-parser@2.1.2
async-graphql-tide@2.1.2
async-graphql-warp@2.1.2

Generated by cargo-workspaces
2020-11-14 08:43:25 +08:00
Sunli
2a1342182e Merge branch 'release' of https://github.com/async-graphql/async-graphql into release 2020-11-14 08:42:21 +08:00
Sunli
b34dcb6369 Fix #322. 2020-11-14 08:42:17 +08:00
Sunli
fdca42694b Release 2.1.1
async-graphql@2.1.1
async-graphql-actix-web@2.1.1
async-graphql-derive@2.1.1
async-graphql-parser@2.1.1
async-graphql-tide@2.1.1
async-graphql-warp@2.1.1

Generated by cargo-workspaces
2020-11-10 11:47:48 +08:00
Sunli
014a675995 Fix #322. 2020-11-10 11:46:56 +08:00
Sunli
1a53344e59 Release 2.1.0
async-graphql@2.1.0
async-graphql-actix-web@2.1.0
async-graphql-tide@2.1.0
async-graphql-warp@2.1.0

Generated by cargo-workspaces
2020-11-08 09:23:43 +08:00
Sunli
044aa6e67c Implements Cow<T> for OutputValueType. #189 2020-11-08 09:22:50 +08:00
Sunli
18781657a0 Release 2.0.16
async-graphql@2.0.16
async-graphql-actix-web@2.0.16
async-graphql-derive@2.0.16
async-graphql-tide@2.0.16
async-graphql-warp@2.0.16

Generated by cargo-workspaces
2020-11-08 08:03:27 +08:00
Sunli
04f90bfea5 Fix #339 2020-11-08 08:00:14 +08:00
Sunli
d682483bb3 Update docs. 2020-11-07 21:30:40 +08:00
Sunli
79227c88ea Add TracingConfig for each request. #337 2020-11-07 21:23:22 +08:00
Koxiaet
6d5233f690 Don't duplicate type names in parsing error message 2020-11-07 06:05:59 +00:00
Sunli
451ec2bb19 Release 2.0.15
async-graphql@2.0.15
async-graphql-actix-web@2.0.15
async-graphql-derive@2.0.15
async-graphql-tide@2.0.15
async-graphql-warp@2.0.15

Generated by cargo-workspaces
2020-11-07 09:19:42 +08:00
Sunli
7816135f56 Subscription macros now correctly report unsupported attribute errors. 2020-11-07 09:13:53 +08:00
Sunli
29ec9dc204 Release 2.0.14
async-graphql@2.0.14
async-graphql-actix-web@2.0.14
async-graphql-tide@2.0.14
async-graphql-warp@2.0.14

Generated by cargo-workspaces
2020-11-07 08:51:40 +08:00
Sunli
5b5740e682 Export sdl for interface to implements another interface. #322 2020-11-07 08:49:08 +08:00
Sunli
ea7abf8495 Fix the problem that the resolver_utils::resolve_container function does not call the extensions. #336 2020-11-07 08:27:50 +08:00
Sunli
d3a00571c0 Clippy clean 2020-11-07 08:24:17 +08:00
Sunli
a35d1fbfc9 Add Tracing::with_parent function. #337 2020-11-07 08:22:24 +08:00
Sunli
b09b736f95 Merge pull request #335 from zicklag/zicklag-patch-1
Add "Unsafe Forbidden" Badge to the README
2020-11-06 22:25:13 +08:00
Sunli
a263c19f0f Release 2.0.13
async-graphql@2.0.13
async-graphql-actix-web@2.0.13
async-graphql-tide@2.0.13
async-graphql-warp@2.0.13

Generated by cargo-workspaces
2020-11-06 22:20:43 +08:00