Commit Graph

24 Commits

Author SHA1 Message Date
Sunli
88ba75ec70 Rework connection types 2022-04-19 19:18:06 +08:00
Douman
b0933b3475 Add process_with to methods 2022-04-06 18:25:07 +09:00
Sunli
8909752107 Add support group attribute to Object/SimpleObject/ComplexObject/Subscription macros. #838 2022-03-14 09:28:34 +08:00
Sunli
a4b840a984 Add support for oneof field on object. #766 2022-03-04 21:24:17 +08:00
tamasfe
2261e7311b feat(derive): pass context with flatten 2022-02-04 17:30:58 +01:00
Sunli
cea21fbe45 Add support flatten attribute for SimpleObject, ComplexObject and Object macros. #533 2022-01-18 10:33:07 +08:00
Sunli
9f51772ad9 Fix field guards not working on ComplexObject. #767 2021-12-26 10:42:36 +08:00
Sunli
60245769f5 Rework guards 2021-11-16 10:22:39 +08:00
Sunli
613bbc5b91 Custom validator 2021-11-15 11:08:56 +08:00
Sunli
dd55421ede Rework validators 2 2021-11-15 09:12:13 +08:00
Sunli
eb022a0cca Rework validators 2021-11-14 21:09:14 +08:00
Sunli
0e9e087691 Move the methods of the Type trait to InputType and OutputType. 2021-11-12 07:23:05 +08:00
Miaxos
b361119ca0 feat: add with for object & complex object & update documentation 2021-10-28 12:42:13 +00:00
Sunli
9b5149ee23 Respect query object field order. #612 2021-10-26 19:02:15 +08:00
Miaxos
b7232cea65 feat: add derived for simple object & complex object 2021-10-25 12:23:12 +00:00
Sunli
c80687af80 Clippy clean 2021-07-31 23:54:16 +08:00
Julien Nicoulaud
beaeb7cba0 #550: fix #[graphql(skip)] breaking compilation on ComplexObjects 2021-07-03 18:04:18 +02:00
Julien Nicoulaud
2aa04a6211 #550: fix ComplexObject macro adding extra generics parameters declaration 2021-07-03 18:02:28 +02:00
Sunli
543ce408b0 Implement InputType and OutputType for [T; N] array. 2021-06-17 10:39:27 +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
bdeeff328a Fix the problem that the ComplexObject macro cannot work due to the secret attribute. 2021-04-23 10:25:00 +08:00
Sunli
572f907df7 Now when the resolver returns the Result type, E can be all types that implement Into<async_graphql::Error>. 2021-04-09 15:04:01 +08:00
Sunli
15036be792 Add ComplexObject macro. #355 2021-03-18 10:13:46 +08:00