Commit Graph

607 Commits

Author SHA1 Message Date
Sunli
a5a18824e7 Clippy clean 2021-03-26 21:07:45 +08:00
Sunli
cc937b70b5 Rework Extension & TracingExtension & OpenTelemetryExtension 2021-03-26 12:03:10 +08:00
Denis Nevmerzhitskii
876d78e188 Fix chrono-tz integration 2021-03-24 19:09:08 +02:00
Sunli
e991ffb814 Fix internal context missing when there's no connection_init frame. #451 2021-03-24 17:24:12 +08:00
Sunli
d280978ccb Update dependencies 2021-03-24 12:25:03 +08:00
Sunli
e9c4a5d189 Update docs 2021-03-22 13:27:24 +08:00
Sunli
d6c79771d5 Remove TracingConfig
Now Request span always takes the current span as the parent, so this option is no longer needed.
2021-03-22 12:01:49 +08:00
Sunli
8310fa4350 Now all features are not activated by default. 2021-03-22 10:39:17 +08:00
Sunli
6dfd660e6a Add extension::OpenTelemetry. 2021-03-22 09:36:14 +08:00
Sunli
aa1e72e68e Add SchemaBuilder::enable_subscription_in_federation method. #449 2021-03-20 17:22:18 +08:00
Sunli
cf1fe6f6c7 Fix tracing extension doesn't work with async code. ##448 2021-03-20 10:32:41 +08:00
Sunli
bec0fc18a9 Add ComplexObject macro. #355 2021-03-18 10:13:46 +08:00
Sunli
08c1ace4b6 Fix the problem that the validation does not work on some inline fragments. 2021-03-14 10:15:52 +08:00
Sunli
fbf175b394 Add DataLoader::loader method. #441 2021-03-12 15:41:10 +08:00
Sunli
5c644de219 Switch the async runtime used for testing to Tokio. 2021-03-12 12:47:24 +08:00
Sunli
a51abb7284 Add SchemaBuilder::override_name method. #437 2021-03-09 18:07:18 +08:00
Sunli
1e9771a17f Add extends attribute for derive macros Subscription and MergedSubscription. 2021-03-09 15:12:14 +08:00
Sunli
6b21f63817 Export subscription type to Federation SDL. 2021-03-09 14:54:54 +08:00
Sunli
3f913651b1 Remove unnecessary Box from WebSocket messages. 2021-03-09 12:07:12 +08:00
Sunli
97d5097b10 Execute _entity requests in parallel. #431 2021-03-07 16:37:34 +08:00
Taiki Endo
cb03ec23b8 Fix format of InputObject in SDL 2021-03-07 15:35:47 +09:00
Sunli
32ab16f076 Add descriptions for the exported Federation SDL. 2021-03-06 08:38:19 +08:00
Sunli
69341df41e Moved Variables from async_graphql::context::Variables to
`async_graphql::Variables`.
2021-02-28 09:37:42 +08:00
Sunli
baa837f2ca Allow the deprecation attribute to have no reason. 2021-02-27 11:59:58 +08:00
Sunli
1dd3c7589f Clippy clean 2021-02-26 20:05:09 +08:00
Sunli
60d4eb5394 Improve the performance of introspection queries. 2021-02-24 12:06:11 +08:00
Sunli
221e4ff279 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
cd8da606f2 When introspection is disabled, introspection related types are no longer registered. 2021-02-23 12:49:41 +08:00
Sunli
14a88cfa19 Add support for Federation nested keys. 2021-02-21 23:06:26 +08:00
puh
eabdf6a74a Fix typo in multipart stream size limit calculations 2021-02-13 21:50:17 +03:00
Sunli
f13a1b25ce Clippy clean 2021-02-13 09:55:53 +08:00
Sunli
bd3784e402 Rustfmt 2021-02-13 09:28:05 +08:00
Sunli
550ecd9660 Fixed GraphQL over WebSocket Protocol does not support ConnectionError events. #406 2021-02-06 11:02:41 +08:00
Sunli
8f4f32bae2 Fixed the bug that can accept subscription requests during the initialization of WebSocket. 2021-02-06 09:24:00 +08:00
Sunli
43a8ad6859 Supports async websocket initializer. #393 2021-01-16 16:37:20 +08:00
Sunli
879bcd6061 Add NewType derive macro. #388 2021-01-15 10:29:03 +08:00
Sunli
95e372e0d3 Add Send + Sync constraints for InputType, OutputType and SubscriptionType. 2021-01-14 12:41:59 +08:00
Sunli
91fdad2602 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
4d6fd5b539 Clippy clean 2021-01-11 09:01:28 +08:00
Naaman Curtis
b16d7c8aac
update response to correctly carry headers through (#384)
* update response to correctly carry headers through
2021-01-11 08:05:51 +08:00
Naaman
e50e9d8d30 Update http-headers to use http::HeaderMap 2021-01-10 10:57:28 +00:00
Sunli
20e5732525 Implements InputType for Box<T> and Arc<T>. #382 2021-01-10 13:48:18 +08:00
Sunli
c547252121 #[Object] on impl dyn TraitObj. #381 2021-01-10 11:21:47 +08:00
Sunli
1897859b91 Add Context::set_http_header method. #370 2021-01-10 08:06:48 +08:00
Ejez
3a8e0e0ae0
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
ed1dce4985 Add Schema::federation_sdl method. #376 2021-01-06 11:01:13 +08:00
Sunli
8bc33cfd44 Clippy clean 2021-01-04 08:18:28 +08:00
Sunli
6b540c3845 Implements Debug for SelectionField. #364 2021-01-01 12:03:30 +08:00
Sunli
0e5c63413f Improve dataloader 2020-12-22 10:04:21 +08:00
Sunli
f988a4050f Update docs. 2020-12-21 19:23:51 +08:00