Commit Graph

237 Commits

Author SHA1 Message Date
Sunli
732e232a8e Hide types that are not referenced by visible fields. #698 2021-11-12 07:24:04 +08:00
Sunli
20b73e06f4 Move the methods of the Type trait to InputType and OutputType. 2021-11-12 07:23:05 +08:00
Sunli
a26cc65d59 Rework Failure 3 #671 2021-11-07 19:11:43 +08:00
Sunli
e898998311 Add Failure type. #671 2021-11-04 14:33:04 +08:00
Sunli
a250c21ef6 Update MSRV 2021-11-03 18:42:41 +08:00
Sunli
91bb9e81fb Specified By - [GraphQL - October 2021] #677 2021-11-02 20:35:05 +08:00
Miaxos
897ef79b72 feat: add with for object & complex object & update documentation 2021-10-28 12:42:13 +00:00
Miaxos
2941b7283d feat: add basic coercion for SimpleObject derived arg 2021-10-27 13:37:13 +00:00
Miaxos
878a1d4d84 feat: add derived for simple object & complex object 2021-10-25 12:23:12 +00:00
Miaxos
3f227217ae feat: add derived on simple objects 2021-10-25 10:56:33 +00:00
Miaxos
02009c401b feat: add derived field for complex object 2021-10-22 13:08:49 +00:00
Miaxos
a3b7777516 feat: add visible macro argument for union type 2021-10-11 21:54:50 +00:00
Sunli
96d8907ea6 Merge branch 'master' into pr/619 2021-09-02 19:39:49 +08:00
Sunli
3b9fa765ad Add feature gate cbor. 2021-09-02 19:39:45 +08:00
Sunli
853cf65546 Add Poem integration. 2021-08-24 15:23:12 +08:00
Bram Hoendervangers
648515265b Add decimal scalar 2021-07-01 23:47:30 +02:00
Sunli
20ee79993c Clippy clean 2021-06-18 10:43:34 +08:00
Sunli
a480b52df0 Update minimum supported Rust version to 1.51 2021-06-17 09:08:19 +08:00
Sunli
19669c11f0 Add serial attribute for MergedObject macro. #539 2021-06-16 15:08:33 +08:00
Sunli
eecf709a2c Add serial attribute for SimpleObject and Object macros. #539 2021-06-15 08:53:26 +08:00
Sunli
cdd13ea1be Fix the problem that the ComplexObject macro cannot work due to the secret attribute. 2021-04-23 10:25:00 +08:00
Sunli
6aa191fba5 Add secret attribute for arguments, they will not appear in the log. #463 2021-04-07 19:40:19 +08:00
Sunli
04b9309f09 Add name and visible attributes for Newtype macro for define a new scalar. #437 2021-03-31 19:28:19 +08:00
Sunli
a5a18824e7 Clippy clean 2021-03-26 21:07:45 +08:00
Sunli
e9c4a5d189 Update docs 2021-03-22 13:27:24 +08:00
Sunli
8310fa4350 Now all features are not activated by default. 2021-03-22 10:39:17 +08:00
Sunli
bec0fc18a9 Add ComplexObject macro. #355 2021-03-18 10:13:46 +08:00
Sunli
5c644de219 Switch the async runtime used for testing to Tokio. 2021-03-12 12:47:24 +08:00
Sunli
1e9771a17f Add extends attribute for derive macros Subscription and MergedSubscription. 2021-03-09 15:12:14 +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
879bcd6061 Add NewType derive macro. #388 2021-01-15 10:29:03 +08:00
Sunli
c547252121 #[Object] on impl dyn TraitObj. #381 2021-01-10 11:21:47 +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
6c5d449363 Update docs. 2020-12-21 14:21:10 +08:00
Sunli
a0e05b9c92 Add dataloader 2020-12-21 13:33:36 +08:00
Sunli
bbb7124616 Add Analyzer extension. 2020-12-18 23:58:03 +08:00
Sunli
48fa80ca34 Update docs. 2020-12-18 19:31:36 +08:00
Sunli
ec82e64a39 Improve depth and complex. 2020-12-18 18:56:28 +08:00
Sunli
f59c287ba0 Add the skip attribute to the InputObject fields. 2020-12-15 20:29:59 +08:00
Sunli
ef96aa6690 Update docs 2020-12-15 15:12:05 +08:00
Sunli
0747cba7d2 Update docs 2020-12-15 10:05:44 +08:00
Sunli
e29b7a3627 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
03f6ed4ba2 Rename InputValueType to InputType and OutputValueType to OutputType. 2020-12-11 15:37:50 +08:00
Sunli
631ec4bba0 Update docs. 2020-11-07 21:30:40 +08:00
Sunli
0ead4d99ba Add docs 2020-10-27 09:19:00 +08:00
Sunli
770ed31508 Add use_type_description attribute for derive macros Object, Scalar and Subscription. 2020-10-26 21:34:05 +08:00
Olexiy Buyanskyy
1ea5958d87 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
8b5de7db6a 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
db312a372d Replace futures with futures_util 2020-10-16 07:49:22 +01:00