Commit Graph

600 Commits

Author SHA1 Message Date
Sunli
1c32a8afcb Now all features are not activated by default. 2021-03-22 10:39:17 +08:00
Sunli
7fb02d587e Add extension::OpenTelemetry. 2021-03-22 09:36:14 +08:00
Sunli
6e2fe32be0 Add SchemaBuilder::enable_subscription_in_federation method. #449 2021-03-20 17:22:18 +08:00
Sunli
e8fb9768d4 Fix tracing extension doesn't work with async code. ##448 2021-03-20 10:32:41 +08:00
Sunli
15036be792 Add ComplexObject macro. #355 2021-03-18 10:13:46 +08:00
Sunli
4c34494e52 Fix the problem that the validation does not work on some inline fragments. 2021-03-14 10:15:52 +08:00
Sunli
d37297bb06 Add DataLoader::loader method. #441 2021-03-12 15:41:10 +08:00
Sunli
4f47703118 Switch the async runtime used for testing to Tokio. 2021-03-12 12:47:24 +08:00
Sunli
272fea205d Add SchemaBuilder::override_name method. #437 2021-03-09 18:07:18 +08:00
Sunli
f6c0c33885 Add extends attribute for derive macros Subscription and MergedSubscription. 2021-03-09 15:12:14 +08:00
Sunli
197b3ae0a9 Export subscription type to Federation SDL. 2021-03-09 14:54:54 +08:00
Sunli
d0fe7fc23b Remove unnecessary Box from WebSocket messages. 2021-03-09 12:07:12 +08:00
Sunli
007b4e74db Execute _entity requests in parallel. #431 2021-03-07 16:37:34 +08:00
Taiki Endo
f3e488c6a6 Fix format of InputObject in SDL 2021-03-07 15:35:47 +09:00
Sunli
d723717e4b Add descriptions for the exported Federation SDL. 2021-03-06 08:38:19 +08:00
Sunli
4f2ea5ed50 Moved Variables from async_graphql::context::Variables to
`async_graphql::Variables`.
2021-02-28 09:37:42 +08:00
Sunli
4ebe0dd4cd Allow the deprecation attribute to have no reason. 2021-02-27 11:59:58 +08:00
Sunli
144ddb752c Clippy clean 2021-02-26 20:05:09 +08:00
Sunli
68b5ed680f Improve the performance of introspection queries. 2021-02-24 12:06:11 +08:00
Sunli
035f6d0a51 Fix the problem that the borrowing lifetime returned by the Context::data function is too small. 2021-02-23 23:05:08 +08:00
Sunli
2953ed059c When introspection is disabled, introspection related types are no longer registered. 2021-02-23 12:49:41 +08:00
Sunli
5c66a9cdda Add support for Federation nested keys. 2021-02-21 23:06:26 +08:00
puh
f77b34356e Fix typo in multipart stream size limit calculations 2021-02-13 21:50:17 +03:00
Sunli
386b0b2876 Clippy clean 2021-02-13 09:55:53 +08:00
Sunli
490533b640 Rustfmt 2021-02-13 09:28:05 +08:00
Sunli
2d7627cd39 Fixed GraphQL over WebSocket Protocol does not support ConnectionError events. #406 2021-02-06 11:02:41 +08:00
Sunli
d193a138e3 Fixed the bug that can accept subscription requests during the initialization of WebSocket. 2021-02-06 09:24:00 +08:00
Sunli
b98e35995d Supports async websocket initializer. #393 2021-01-16 16:37:20 +08:00
Sunli
66aadd6319 Add NewType derive macro. #388 2021-01-15 10:29:03 +08:00
Sunli
b054fc0704 Add Send + Sync constraints for InputType, OutputType and SubscriptionType. 2021-01-14 12:41:59 +08:00
Sunli
f3f08c0067 Fix the bug that dataloader will only return one value when loading the same key. #386 2021-01-11 09:42:30 +08:00
Sunli
5f2e0ae50d Clippy clean 2021-01-11 09:01:28 +08:00
Naaman Curtis
78a1ea1910 update response to correctly carry headers through (#384)
* update response to correctly carry headers through
2021-01-11 08:05:51 +08:00
Naaman
f92dda0271 Update http-headers to use http::HeaderMap 2021-01-10 10:57:28 +00:00
Sunli
099415fd42 Implements InputType for Box<T> and Arc<T>. #382 2021-01-10 13:48:18 +08:00
Sunli
5a29f74062 #[Object] on impl dyn TraitObj. #381 2021-01-10 11:21:47 +08:00
Sunli
1e449f9da6 Add Context::set_http_header method. #370 2021-01-10 08:06:48 +08:00
Ejez
50f6d2396c Include full link (#379)
Include the full link to ensure it is always accessible, whether from
github, doc.rs or elsewhere.
2021-01-06 22:06:01 +08:00
Sunli
65ca9ef605 Add Schema::federation_sdl method. #376 2021-01-06 11:01:13 +08:00
Sunli
c0ce4d4473 Clippy clean 2021-01-04 08:18:28 +08:00
Sunli
7a311f8476 Implements Debug for SelectionField. #364 2021-01-01 12:03:30 +08:00
Sunli
3e6339e630 Improve dataloader 2020-12-22 10:04:21 +08:00
Sunli
f58fe85822 Update docs. 2020-12-21 19:23:51 +08:00
Sunli
af1d501d75 Add dataloader 2020-12-21 13:33:36 +08:00
Sunli
6043543df7 Add custom complexity for subscription. 2020-12-19 18:39:33 +08:00
Sunli
0d76987f40 Add Analyzer extension. 2020-12-18 23:58:03 +08:00
Sunli
c49c3ffa07 Update docs. 2020-12-18 19:31:36 +08:00
Sunli
bf9e3ec578 Improve depth and complex. 2020-12-18 18:56:28 +08:00
Sunli
c6d8df0bdb Remove async-channel and async-mutex from dependencies. 2020-12-17 10:05:32 +08:00
Sunli
fe24247c9d Add the skip attribute to the InputObject fields. 2020-12-15 20:29:59 +08:00