Sunli
e60864a18d
Rework async-graphql-derive. #288
2020-09-29 16:06:10 +08:00
Sunli
0d6771a199
Add some type detection to make the defined schema conform to the GraphQL specification. #282
2020-09-27 15:35:05 +08:00
Sunli
7d3eb9b62c
Make Object and Subscription macros support #cfg(...)
attribute. #281
2020-09-27 10:20:20 +08:00
Sunli
b47d08c5b5
Invoke extensions for execute_schema.
2020-09-26 15:52:59 +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
d4eed93ad4
Remove unused idx parameter on subscription
2020-09-13 08:13:56 +01:00
Koxiaet
b8add03d53
Remove Deref for ContextBase
2020-09-12 17:42:15 +01:00
Sunli
91c75ced2a
Make all tests passed (async-graphql).
2020-09-10 19:35:48 +08:00
Sunli
f3c0d86f12
Continue to refactor.
2020-09-10 16:39:43 +08:00
Sunli
668b1fea94
Remove prefixes and add integrations subdirectory #259
2020-09-09 10:08:17 +08:00