Commit Graph

32 Commits

Author SHA1 Message Date
Sunli
57d592b250 Skip tracing for introspection queries #841 2022-10-01 16:17:27 +08:00
Sunli
88ba75ec70 Rework connection types 2022-04-19 19:18:06 +08:00
Sunli
cea21fbe45 Add support flatten attribute for SimpleObject, ComplexObject and Object macros. #533 2022-01-18 10:33:07 +08:00
Sunli
707890e551 Add Union and Interface support for trait objects. #780
Clippy clean
2022-01-11 09:35:09 +08:00
Sunli
1b50738af7 Custom directive 2021-11-20 09:04:46 +08:00
Sunli
eb9cda4c80 Remove skipped fields from the document before executing the query. 2021-11-18 19:37:10 +08:00
Sunli
9b5149ee23 Respect query object field order. #612 2021-10-26 19:02:15 +08:00
Sunli
8b4f3bcff5 Allows to get the actual field name and alias in ResolveInfo. #551 2021-06-29 09:30:26 +08:00
Sunli
e7382bf549 Rework error propagation. #531 2021-06-08 10:05:30 +08:00
Sunli
f8021c0fb5 Add support for returning multiple resolver errors. #531 2021-06-07 14:03:36 +08:00
Sunli
a4db80bdc9 Update subscription.rs 2021-04-04 19:51:41 +08:00
Sunli
824356d118 Rework Extension 2021-04-04 14:37:41 +08:00
Sunli
05911f3516 Rework Extension & TracingExtension & OpenTelemetryExtension 2021-03-26 12:03:10 +08:00
Sunli
b054fc0704 Add Send + Sync constraints for InputType, OutputType and SubscriptionType. 2021-01-14 12:41:59 +08:00
Sunli
5a29f74062 #[Object] on impl dyn TraitObj. #381 2021-01-10 11:21:47 +08:00
Sunli
5c39d0197d Rename InputValueType to InputType and OutputValueType to OutputType. 2020-12-11 15:37:50 +08:00
Sunli
9b10ebeab5 Fix the problem that the fields of the list are not merged correctly.#345 2020-11-27 10:26:23 +08:00
Sunli
ea7abf8495 Fix the problem that the resolver_utils::resolve_container function does not call the extensions. #336 2020-11-07 08:27:50 +08:00
Sunli
5f68861926 Improve performance 2020-10-24 08:59:35 +08:00
Koxiaet
d2cbe82e44 Fix #323 2020-10-23 17:18:37 +01:00
Sunli
e3d693da28 Add entity lookup support for MergedObject.
Add some GraphQL specification constraints for all derived macros.

Use `Registry::create_dummy_type` to create a merged type.
2020-10-20 11:49:31 +08:00
Koxiaet
12fe7445c7 Replace futures with futures_util 2020-10-16 07:49:22 +01:00
Koxiaet
6f47b11fed Reduce code duplication in container resolver 2020-10-16 07:12:21 +01:00
Koxiaet
93c886af07 Make imports consistent 2020-10-15 07:38:10 +01:00
Sunli
6958202238 Update docs 2020-10-13 10:19:30 +08:00
Sunli
25af42ed81 Improve performance 2020-10-12 14:49:32 +08:00
Sunli
e056edbaa0 Add parse_value and from_value funcntions. 2020-10-11 20:24:31 +08:00
Sunli
87ba51fdd0 Some improvements. 2020-10-10 16:28:07 +08:00
Sunli
6afac75ccf Merge branch 'master' into rework-errors 2020-10-01 09:39:47 +08:00
Sunli
97f0b0d419 Merge branch 'master' into rework-errors 2020-10-01 09:07:19 +08:00
Sunli
7bccbd1277 Update docs. 2020-09-30 11:55:56 +08:00
Sunli
35f886a7f8 Improve trait for GraphQL types. 2020-09-30 07:45:48 +08:00