Commit Graph

917 Commits

Author SHA1 Message Date
Koxiaet
a3ad1aac30 Remove and feature-gate dependencies 2020-09-14 19:38:41 +01:00
Sunli
3ccc61ba0f 2.0.0-alpha.6 2020-09-14 20:10:50 +08:00
Sunli
42817a3aa6 Implement Type for more stdlib collection types #189
Implement InputValueType/OutputValueType for HashSet<T>/BTreeSet<T>/VecDeque<T>/LinkedList<T>
Implement ScalarType for char/NonZero*/HashMap<String,T>/BTreeMap<String, T>
2020-09-14 20:06:44 +08:00
Sunli
99ff3a8b96 Update README.md 2020-09-14 14:13:43 +08:00
Sunli
1ab5da63ef Improve websocket 2020-09-14 10:44:56 +08:00
Sunli
01f02c6bc1 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
5bb705bdf3 2.0.0-alpha.5 2020-09-14 09:46:22 +08:00
Sunli
fd35272f62 Improve registry 2020-09-14 08:37:15 +08:00
Sunli
6e5153c8b1 Remove unnecessary memory allocation in websocket. 2020-09-14 08:25:00 +08:00
Koxiaet
6e628031bf 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
8d92454fc3 Support !Unpin in receive_body with pin project 2020-09-13 11:49:07 +01:00
Koxiaet
367076cd66 Remove SimpleBroker 2020-09-13 10:47:28 +01:00
Koxiaet
6cf7e78ea9 Restructure types module 2020-09-13 10:38:19 +01:00
Koxiaet
d4eed93ad4 Remove unused idx parameter on subscription 2020-09-13 08:13:56 +01:00
Koxiaet
06a52dc936 Improve lookahead 2020-09-13 08:02:14 +01:00
Koxiaet
9796364348 Move websockets to http module and fix doc tests 2020-09-13 07:40:34 +01:00
Sunli
4e8734b54b 2.0.0-alpha.4 2020-09-13 12:18:40 +08:00
Sunli
b68d4147bc Update Book 2020-09-13 12:12:32 +08:00
Sunli
3b372edfd7 Udate docs 2020-09-13 11:51:10 +08:00
Sunli
df0870323c Udate CI 2020-09-13 11:47:33 +08:00
Sunli
383902379e 2.0.0-alpha.3 2020-09-13 11:44:26 +08:00
Sunli
24b80d52d3 Remove all attribute macros that can be replaced by derive. 2020-09-13 11:41:15 +08:00
Koxiaet
b8add03d53 Remove Deref for ContextBase 2020-09-12 17:42:15 +01:00
Koxiaet
dcc7d1be14 Replace http::GQLRequest with Request 2020-09-12 17:07:46 +01:00
Sunli
79bcf5f710 Hide async_graphql::resolver_utils module in docs.
l:
2020-09-12 21:47:11 +08:00
Sunli
adcd36a0bf Remove async_graphql::http::StreamBody
l:
2020-09-12 21:44:34 +08:00
Sunli
e136f90ba6 Delete serde.rs 2020-09-12 21:27:14 +08:00
Sunli
6bf0f498d3 2.0.0-alpha.2 2020-09-12 20:34:29 +08:00
Sunli
473bfb40bf Upgrade for actix-web 3.0 2020-09-12 20:04:50 +08:00
Koxiaet
35e74a4e17 Create resolver_utils 2020-09-12 10:29:52 +01:00
Sunli
b64f647b87 Bump version to 2.0.0-alpha.1 2020-09-12 07:47:13 +08:00
Sunli
1320d1ae45 Change MultipartOptions to a builder. 2020-09-12 07:43:50 +08:00
Sunli
cbc39c4cff Merge branch '2.0' 2020-09-12 07:13:12 +08:00
Sunli
e745a45fff 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
857afb1f54 Fix a little bug. 2020-09-11 23:43:26 +08:00
Sunli
3c01c5ed28 Update book. 2020-09-11 23:38:18 +08:00
Sunli
ea3e80ec82 Bump version to 2.0.0-alpha.0 2020-09-11 22:57:52 +08:00
Sunli
69e6e7997d async-graphql-rocket 2.0 2020-09-11 22:55:01 +08:00
Sunli
a43e437a38 async-graphql-warp 2.0 2020-09-11 22:37:48 +08:00
Sunli
c2e32c2ea1 async-graphql-tide 2.0 2020-09-11 22:17:17 +08:00
Sunli
4da65fc8e3 async-graphql-actix-web 2.0 2020-09-11 17:52:06 +08:00
Sunli
a4fdf6a38a Re-enable the test on websocket. 2020-09-11 16:41:56 +08:00
Sunli
c129079f69 Fix tests 2020-09-11 16:05:21 +08:00
Sunli
049b652dd6 Add transports::websocket module. 2020-09-11 15:54:56 +08:00
Sunli
ec670adb6c Clippy clean 2020-09-11 10:51:20 +08:00
Sunli
35f17a389c Remove unnecessary Result on Schema::execute_stream function. 2020-09-11 10:47:55 +08:00
Sunli
91c75ced2a Make all tests passed (async-graphql). 2020-09-10 19:35:48 +08:00
Sunli
22d6e20da3 Merge changes. 2020-09-10 16:54:38 +08:00
Sunli
13f094b67e Merge branch '2.0' of github.com:async-graphql/async-graphql into 2.0 2020-09-10 16:43:24 +08:00
Sunli
f3c0d86f12 Continue to refactor. 2020-09-10 16:39:43 +08:00