Commit Graph

914 Commits

Author SHA1 Message Date
Sunli
fad20a80e9 Update README.md 2020-09-14 14:13:43 +08:00
Sunli
6e3dc9721b Improve websocket 2020-09-14 10:44:56 +08:00
Sunli
134ef7ad56 Fix the problem that the compilation fails when the compilation parameter is --no-default-features.
Update mod.rs
2020-09-14 09:54:55 +08:00
Sunli
d67a511a07 2.0.0-alpha.5 2020-09-14 09:46:22 +08:00
Sunli
bbcfade50e Improve registry 2020-09-14 08:37:15 +08:00
Sunli
ae46e91b08 Remove unnecessary memory allocation in websocket. 2020-09-14 08:25:00 +08:00
Koxiaet
d404e756bc Rework subscriptions
The main change in this commit is changing the return type of
SubscriptionType::create_stream from
Future<Result<Stream<Result<Response>>>> to just Stream<Result<Json>>. I
also allowed the returned stream to borrow from self and context.
2020-09-13 18:52:36 +01:00
Koxiaet
91ec3486ce Support !Unpin in receive_body with pin project 2020-09-13 11:49:07 +01:00
Koxiaet
863d57a4b0 Remove SimpleBroker 2020-09-13 10:47:28 +01:00
Koxiaet
f204841d1f Restructure types module 2020-09-13 10:38:19 +01:00
Koxiaet
1af9ce5b95 Remove unused idx parameter on subscription 2020-09-13 08:13:56 +01:00
Koxiaet
42c3cfc17c Improve lookahead 2020-09-13 08:02:14 +01:00
Koxiaet
55753983a9 Move websockets to http module and fix doc tests 2020-09-13 07:40:34 +01:00
Sunli
d9a4e9a96e 2.0.0-alpha.4 2020-09-13 12:18:40 +08:00
Sunli
7aa9cb2ed7 Update Book 2020-09-13 12:12:32 +08:00
Sunli
13f7126a13 Udate docs 2020-09-13 11:51:10 +08:00
Sunli
b71833b1a4 Udate CI 2020-09-13 11:47:33 +08:00
Sunli
d88f7e7060 2.0.0-alpha.3 2020-09-13 11:44:26 +08:00
Sunli
f530d01bf4 Remove all attribute macros that can be replaced by derive. 2020-09-13 11:41:15 +08:00
Koxiaet
cffed09c78 Remove Deref for ContextBase 2020-09-12 17:42:15 +01:00
Koxiaet
8796c5e1a7 Replace http::GQLRequest with Request 2020-09-12 17:07:46 +01:00
Sunli
a8e7608c9e Hide async_graphql::resolver_utils module in docs.
l:
2020-09-12 21:47:11 +08:00
Sunli
bbf784fe42 Remove async_graphql::http::StreamBody
l:
2020-09-12 21:44:34 +08:00
Sunli
3b5d387f55 Delete serde.rs 2020-09-12 21:27:14 +08:00
Sunli
99efe7d6b7 2.0.0-alpha.2 2020-09-12 20:34:29 +08:00
Sunli
4a08663f84 Upgrade for actix-web 3.0 2020-09-12 20:04:50 +08:00
Koxiaet
1aa36819eb Create resolver_utils 2020-09-12 10:29:52 +01:00
Sunli
ddf9470ea4 Bump version to 2.0.0-alpha.1 2020-09-12 07:47:13 +08:00
Sunli
e11d8c8d87 Change MultipartOptions to a builder. 2020-09-12 07:43:50 +08:00
Sunli
6fbc31e01d Merge branch '2.0' 2020-09-12 07:13:12 +08:00
Sunli
0c2aa7ae47 Release 1.18.1
async-graphql@1.18.1
async-graphql-actix-web@1.18.1
async-graphql-derive@1.18.1
async-graphql-parser@1.18.1
async-graphql-rocket@1.18.1
async-graphql-tide@1.18.1
async-graphql-warp@1.18.1
graphql-benchmark@1.18.1

Generated by cargo-workspaces
2020-09-12 06:33:50 +08:00
Sunli
20dc0cfdfc Fix a little bug. 2020-09-11 23:43:26 +08:00
Sunli
8d3ae2d465 Update book. 2020-09-11 23:38:18 +08:00
Sunli
68ae3fb5c5 Bump version to 2.0.0-alpha.0 2020-09-11 22:57:52 +08:00
Sunli
c9bb388e0e async-graphql-rocket 2.0 2020-09-11 22:55:01 +08:00
Sunli
6f3fd03443 async-graphql-warp 2.0 2020-09-11 22:37:48 +08:00
Sunli
a0b55a9e43 async-graphql-tide 2.0 2020-09-11 22:17:17 +08:00
Sunli
394f45252f async-graphql-actix-web 2.0 2020-09-11 17:52:06 +08:00
Sunli
a93b91ae2d Re-enable the test on websocket. 2020-09-11 16:41:56 +08:00
Sunli
3e01ef0be7 Fix tests 2020-09-11 16:05:21 +08:00
Sunli
faac753096 Add transports::websocket module. 2020-09-11 15:54:56 +08:00
Sunli
9cc293c8be Clippy clean 2020-09-11 10:51:20 +08:00
Sunli
553e6ffd53 Remove unnecessary Result on Schema::execute_stream function. 2020-09-11 10:47:55 +08:00
Sunli
c88747dfe4 Make all tests passed (async-graphql). 2020-09-10 19:35:48 +08:00
Sunli
d5cbbfb05f Merge changes. 2020-09-10 16:54:38 +08:00
Sunli
2f5a1ccf20 Merge branch '2.0' of github.com:async-graphql/async-graphql into 2.0 2020-09-10 16:43:24 +08:00
Sunli
7a90069cad Continue to refactor. 2020-09-10 16:39:43 +08:00
Koxiaet
c00c368c35 Move HTTP functions to HTTP module 2020-09-10 08:04:24 +01:00
Sunli
9bc837da9e Initial attempt. 2020-09-10 12:49:08 +08:00
Sunli
cacb5aa9d8 Rustfmt 2020-09-10 09:09:55 +08:00