Commit Graph

237 Commits

Author SHA1 Message Date
Sunli
acb44bdd05 Hide types that are not referenced by visible fields. #698 2021-11-12 07:24:04 +08:00
Sunli
0e9e087691 Move the methods of the Type trait to InputType and OutputType. 2021-11-12 07:23:05 +08:00
Sunli
dbc0862894 Rework Failure 3 #671 2021-11-07 19:11:43 +08:00
Sunli
e73c142ce8 Add Failure type. #671 2021-11-04 14:33:04 +08:00
Sunli
b48d4c8c1f Update MSRV 2021-11-03 18:42:41 +08:00
Sunli
c6d26884a9 Specified By - [GraphQL - October 2021] #677 2021-11-02 20:35:05 +08:00
Miaxos
b361119ca0 feat: add with for object & complex object & update documentation 2021-10-28 12:42:13 +00:00
Miaxos
fa34a8ae68 feat: add basic coercion for SimpleObject derived arg 2021-10-27 13:37:13 +00:00
Miaxos
b7232cea65 feat: add derived for simple object & complex object 2021-10-25 12:23:12 +00:00
Miaxos
e9e73f489d feat: add derived on simple objects 2021-10-25 10:56:33 +00:00
Miaxos
e1c577de44 feat: add derived field for complex object 2021-10-22 13:08:49 +00:00
Miaxos
391d3d10e4 feat: add visible macro argument for union type 2021-10-11 21:54:50 +00:00
Sunli
00afdbb8fc Merge branch 'master' into pr/619 2021-09-02 19:39:49 +08:00
Sunli
3e9295b91b Add feature gate cbor. 2021-09-02 19:39:45 +08:00
Sunli
8d489089ec Add Poem integration. 2021-08-24 15:23:12 +08:00
Bram Hoendervangers
6fb324182b Add decimal scalar 2021-07-01 23:47:30 +02:00
Sunli
2dce1ad35f Clippy clean 2021-06-18 10:43:34 +08:00
Sunli
42a4ff13ed Update minimum supported Rust version to 1.51 2021-06-17 09:08:19 +08:00
Sunli
5691f6ca71 Add serial attribute for MergedObject macro. #539 2021-06-16 15:08:33 +08:00
Sunli
b7b9abf40d Add serial attribute for SimpleObject and Object macros. #539 2021-06-15 08:53:26 +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
a9ac598e2e Add secret attribute for arguments, they will not appear in the log. #463 2021-04-07 19:40:19 +08:00
Sunli
37cacf64dc Add name and visible attributes for Newtype macro for define a new scalar. #437 2021-03-31 19:28:19 +08:00
Sunli
5d641a79bd Clippy clean 2021-03-26 21:07:45 +08:00
Sunli
279899559a Update docs 2021-03-22 13:27:24 +08:00
Sunli
1c32a8afcb Now all features are not activated by default. 2021-03-22 10:39:17 +08:00
Sunli
15036be792 Add ComplexObject macro. #355 2021-03-18 10:13:46 +08:00
Sunli
4f47703118 Switch the async runtime used for testing to Tokio. 2021-03-12 12:47:24 +08:00
Sunli
f6c0c33885 Add extends attribute for derive macros Subscription and MergedSubscription. 2021-03-09 15:12:14 +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
66aadd6319 Add NewType derive macro. #388 2021-01-15 10:29:03 +08:00
Sunli
5a29f74062 #[Object] on impl dyn TraitObj. #381 2021-01-10 11:21:47 +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
13e714ca5e Update docs. 2020-12-21 14:21:10 +08:00
Sunli
af1d501d75 Add dataloader 2020-12-21 13:33:36 +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
fe24247c9d Add the skip attribute to the InputObject fields. 2020-12-15 20:29:59 +08:00
Sunli
004ff93557 Update docs 2020-12-15 15:12:05 +08:00
Sunli
56b60a0f56 Update docs 2020-12-15 10:05:44 +08:00
Sunli
ba23761cb4 Add visible attributes on types, fields, and parameters, allowing some content to be hidden based on conditions. 2020-12-12 16:23:53 +08:00
Sunli
5c39d0197d Rename InputValueType to InputType and OutputValueType to OutputType. 2020-12-11 15:37:50 +08:00
Sunli
d682483bb3 Update docs. 2020-11-07 21:30:40 +08:00
Sunli
b3ac34a372 Add docs 2020-10-27 09:19:00 +08:00
Sunli
320d9eef50 Add use_type_description attribute for derive macros Object, Scalar and Subscription. 2020-10-26 21:34:05 +08:00
Olexiy Buyanskyy
baf67f3344 Fixed redundant_closure_for_method_calls
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_for_method_calls
2020-10-23 11:10:00 +03:00
Olexiy Buyanskyy
bd966d5ba3 Collected all clippy warnings and fixed 2
https://rust-lang.github.io/rust-clippy/master/index.html#inefficient_to_string
https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants

Please change `allow` -> `deny` ub src/lib.rs to see other warnings. I feel some of them are important
2020-10-22 09:38:35 +03:00
Koxiaet
12fe7445c7 Replace futures with futures_util 2020-10-16 07:49:22 +01:00