Commit Graph

222 Commits

Author SHA1 Message Date
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
Sunli
6efc93e6b3 Update readme 2020-10-16 09:21:16 +08:00
Koxiaet
cc115ff1a7 Rustfmt 2020-10-15 06:56:17 +01:00
Koxiaet
4eaa9cb86e Clean up crate root and improve context 2020-10-15 06:55:30 +01:00
Sunli
4fa4b25ce4 Fix can no longer derive Union for union types with lifetimes. #311 2020-10-15 08:53:17 +08:00
Sunli
f9f60d31ec Configurable case conversion. 2020-10-14 19:16:10 +08:00
Sunli
6958202238 Update docs 2020-10-13 10:19:30 +08:00
Sunli
c777150dcd Use value! instead of serde_json::json!. 2020-10-12 10:17:05 +08:00
Sunli
bbc02c02eb Add value! macro. 2020-10-12 09:28:51 +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
AurelienFT
53eab09f19 Rework guard (#296)
Rework guard #293
2020-10-06 17:16:51 +08:00
Sunli
be2b39e486 Restore the original error extension implementation. 2020-10-02 14:56:10 +08:00
Sunli
20d5dd9095 Inline ContainerType, EnumType, ScalarType to docs. 2020-10-01 10:05:16 +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