Commit Graph

354 Commits

Author SHA1 Message Date
Sunli
5a1f0ed865 Add some validators 2021-11-16 16:20:40 +08:00
Sunli
4b1cb058fa Release 3.0.0-alpha.1
async-graphql@3.0.0-alpha.1
async-graphql-actix-web@3.0.0-alpha.1
async-graphql-axum@3.0.0-alpha.1
async-graphql-derive@3.0.0-alpha.1
async-graphql-parser@3.0.0-alpha.1
async-graphql-poem@3.0.0-alpha.1
async-graphql-rocket@3.0.0-alpha.1
async-graphql-value@3.0.0-alpha.1
async-graphql-warp@3.0.0-alpha.1

Generated by cargo-workspaces
2021-11-16 15:28:20 +08:00
Sunli
a656ab111b Release 3.0.0-alpha.0
async-graphql@3.0.0-alpha.0
async-graphql-actix-web@3.0.0-alpha.0
async-graphql-axum@3.0.0-alpha.0
async-graphql-derive@3.0.0-alpha.0
async-graphql-parser@3.0.0-alpha.0
async-graphql-poem@3.0.0-alpha.0
async-graphql-rocket@3.0.0-alpha.0
async-graphql-value@3.0.0-alpha.0
async-graphql-warp@3.0.0-alpha.0

Generated by cargo-workspaces
2021-11-16 15:11:21 +08:00
Sunli
3d8a8ef6af Update documents 2021-11-16 14:51:20 +08:00
Sunli
60245769f5 Rework guards 2021-11-16 10:22:39 +08:00
Sunli
71cbb9d20c Rework validators 3 2021-11-15 18:37:33 +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
382d745042 Merge branch 'master' into async-graphql-v3 2021-11-13 09:33:12 +08:00
Sunli
6272d72a15 Release 2.11.3
async-graphql@2.11.3
async-graphql-actix-web@2.11.3
async-graphql-axum@2.11.3
async-graphql-derive@2.11.3
async-graphql-parser@2.11.3
async-graphql-poem@2.11.3
async-graphql-rocket@2.11.3
async-graphql-tide@2.11.3
async-graphql-value@2.11.3
async-graphql-warp@2.11.3

Generated by cargo-workspaces
2021-11-13 09:30:09 +08:00
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
202525903a Release 2.11.2
async-graphql@2.11.2
async-graphql-actix-web@2.11.2
async-graphql-axum@2.11.2
async-graphql-derive@2.11.2
async-graphql-parser@2.11.2
async-graphql-poem@2.11.2
async-graphql-rocket@2.11.2
async-graphql-tide@2.11.2
async-graphql-value@2.11.2
async-graphql-warp@2.11.2

Generated by cargo-workspaces
2021-11-11 08:57:55 +08:00
Sunli
b359b62976 If a GraphQL name conflict is detected when creating schema, it will cause panic. #499 2021-11-08 10:25:31 +08:00
Sunli
70fb209b30 Release 2.11.1
async-graphql@2.11.1
async-graphql-actix-web@2.11.1
async-graphql-axum@2.11.1
async-graphql-derive@2.11.1
async-graphql-parser@2.11.1
async-graphql-poem@2.11.1
async-graphql-rocket@2.11.1
async-graphql-tide@2.11.1
async-graphql-value@2.11.1
async-graphql-warp@2.11.1

Generated by cargo-workspaces
2021-11-07 21:25:43 +08:00
Sunli
16cf3b8d82 Release 2.11.0
async-graphql@2.11.0
async-graphql-actix-web@2.11.0
async-graphql-axum@2.11.0
async-graphql-derive@2.11.0
async-graphql-parser@2.11.0
async-graphql-poem@2.11.0
async-graphql-rocket@2.11.0
async-graphql-tide@2.11.0
async-graphql-value@2.11.0
async-graphql-warp@2.11.0

Generated by cargo-workspaces
2021-11-03 15:36:48 +08:00
Sunli
057d6aebfd Subscription typename - [GraphQL - October 2021] #681 2021-11-02 20:35:05 +08:00
Sunli
c6d26884a9 Specified By - [GraphQL - October 2021] #677 2021-11-02 20:35:05 +08:00
Sunli
38dcc7d582 update ci 2021-11-02 20:34:41 +08:00
Sunli
abac47fc50 Merge branch 'master' into update-to-rust-edition-2021 2021-11-02 20:08:41 +08:00
Sunli
0b6bb1a54e Merge pull request #674 from Miaxos/derived_wrapper_types
Add basic coercion for `derived` for SimpleObject
2021-10-29 10:13:20 +08:00
Miaxos
b361119ca0 feat: add with for object & complex object & update documentation 2021-10-28 12:42:13 +00:00
Miaxos
f3ef60033f feat: use with for simple object 2021-10-28 10:22:39 +00:00
Miaxos
cf407adce0 fix: do not use extend, useless 2021-10-28 01:42:15 +00:00
Miaxos
fa34a8ae68 feat: add basic coercion for SimpleObject derived arg 2021-10-27 13:37:13 +00:00
Sunli
9610ae4695 Release 2.10.8
async-graphql@2.10.8
async-graphql-actix-web@2.10.8
async-graphql-axum@2.10.8
async-graphql-derive@2.10.8
async-graphql-parser@2.10.8
async-graphql-poem@2.10.8
async-graphql-rocket@2.10.8
async-graphql-tide@2.10.8
async-graphql-value@2.10.8
async-graphql-warp@2.10.8

Generated by cargo-workspaces
2021-10-27 20:08:35 +08:00
Sunli
f1fda411b9 Release 2.10.7
async-graphql@2.10.7
async-graphql-actix-web@2.10.7
async-graphql-axum@2.10.7
async-graphql-derive@2.10.7
async-graphql-parser@2.10.7
async-graphql-poem@2.10.7
async-graphql-rocket@2.10.7
async-graphql-tide@2.10.7
async-graphql-value@2.10.7
async-graphql-warp@2.10.7

Generated by cargo-workspaces
2021-10-27 13:58:47 +08:00
Sunli
fb38b548d1 Release 2.10.6
async-graphql@2.10.6
async-graphql-actix-web@2.10.6
async-graphql-axum@2.10.6
async-graphql-derive@2.10.6
async-graphql-parser@2.10.6
async-graphql-poem@2.10.6
async-graphql-rocket@2.10.6
async-graphql-tide@2.10.6
async-graphql-value@2.10.6
async-graphql-warp@2.10.6

Generated by cargo-workspaces
2021-10-26 20:44:45 +08: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
Miaxos
e9e73f489d feat: add derived on simple objects 2021-10-25 10:56:33 +00:00
Sunli
057a29c145 Merge pull request #667 from Miaxos/derived_fields
feat: add derived field for object
2021-10-24 09:24:34 +08:00
Sunli
91cf37e28d Release 2.10.5
async-graphql@2.10.5
async-graphql-actix-web@2.10.5
async-graphql-axum@2.10.5
async-graphql-derive@2.10.5
async-graphql-parser@2.10.5
async-graphql-poem@2.10.5
async-graphql-rocket@2.10.5
async-graphql-tide@2.10.5
async-graphql-value@2.10.5
async-graphql-warp@2.10.5

Generated by cargo-workspaces
2021-10-23 19:34:57 +08:00
Sunli
c1459b9b22 Update examples 2021-10-23 16:13:54 +08:00
Jeff Registre
30009005d1 Removed import for new prelude members: TryFrom, TryInto, FromIterator 2021-10-22 19:34:49 -04:00
Jeff Registre
6e71fac257 Update cargo edition to 2021 2021-10-22 19:34:47 -04:00
Miaxos
e1c577de44 feat: add derived field for complex object 2021-10-22 13:08:49 +00:00
Sunli
7769adb012 Release 2.10.4
async-graphql@2.10.4
async-graphql-actix-web@2.10.4
async-graphql-axum@2.10.4
async-graphql-derive@2.10.4
async-graphql-parser@2.10.4
async-graphql-poem@2.10.4
async-graphql-rocket@2.10.4
async-graphql-tide@2.10.4
async-graphql-value@2.10.4
async-graphql-warp@2.10.4

Generated by cargo-workspaces
2021-10-22 10:39:19 +08:00
OvermindDL1
2bfbc56a46 Move the dyn placement in the Subscription macro to the type injection instead of in-place to allow for non-trait implementations (type aliases). 2021-10-21 10:54:07 -06:00
OvermindDL1
bda4c17d70 Fix the Subscription procmacro to work on Rust 2021 by adding the missing required dyn keywords in the generated output 2021-10-21 10:35:03 -06:00
root
ef22c48d28 Release 2.10.3
async-graphql@2.10.3
async-graphql-actix-web@2.10.3
async-graphql-axum@2.10.3
async-graphql-derive@2.10.3
async-graphql-parser@2.10.3
async-graphql-poem@2.10.3
async-graphql-rocket@2.10.3
async-graphql-tide@2.10.3
async-graphql-value@2.10.3
async-graphql-warp@2.10.3

Generated by cargo-workspaces
2021-10-12 18:22:48 +08:00
Miaxos
391d3d10e4 feat: add visible macro argument for union type 2021-10-11 21:54:50 +00:00
Sunli
526452b494 Release 2.10.2
async-graphql@2.10.2
async-graphql-actix-web@2.10.2
async-graphql-axum@2.10.2
async-graphql-derive@2.10.2
async-graphql-parser@2.10.2
async-graphql-poem@2.10.2
async-graphql-rocket@2.10.2
async-graphql-tide@2.10.2
async-graphql-value@2.10.2
async-graphql-warp@2.10.2

Generated by cargo-workspaces
2021-09-29 16:01:42 +08:00
Sunli
9dc3be78ac Add concrete names support for Object macro. #633 2021-09-24 21:00:17 +08:00
Sunli
73b30d4982 Release 2.10.1
async-graphql@2.10.1
async-graphql-actix-web@2.10.1
async-graphql-axum@2.10.1
async-graphql-derive@2.10.1
async-graphql-parser@2.10.1
async-graphql-poem@2.10.1
async-graphql-tide@2.10.1
async-graphql-value@2.10.1
async-graphql-warp@2.10.1

Generated by cargo-workspaces
2021-09-24 11:22:24 +08:00
Sunli
4740579ec9 Change the execution order of chain and race guards. #614 2021-09-24 10:30:46 +08:00
Sunli
03ad6e45e5 Release 2.10.0
async-graphql@2.10.0
async-graphql-actix-web@2.10.0
async-graphql-axum@2.10.0
async-graphql-derive@2.10.0
async-graphql-parser@2.10.0
async-graphql-poem@2.10.0
async-graphql-tide@2.10.0
async-graphql-value@2.10.0
async-graphql-warp@2.10.0

Generated by cargo-workspaces
2021-09-17 10:26:28 +08:00
Sunli
ee0e917813 Implement ScalarType for HashMap/BTreeMap to use ToString/FromStr. #585 2021-09-17 09:17:47 +08:00
Sunli
296a59225e Implement GraphQL enum to Value conversion. #617 2021-09-17 09:02:09 +08:00
Sunli
b273e45564 Release 2.9.15
async-graphql@2.9.15
async-graphql-actix-web@2.9.15
async-graphql-axum@2.9.15
async-graphql-derive@2.9.15
async-graphql-parser@2.9.15
async-graphql-poem@2.9.15
async-graphql-tide@2.9.15
async-graphql-value@2.9.15
async-graphql-warp@2.9.15

Generated by cargo-workspaces
2021-09-10 11:58:27 +08:00
Sunli
21775e6665 Release 2.9.14
async-graphql@2.9.14
async-graphql-actix-web@2.9.14
async-graphql-axum@2.9.14
async-graphql-derive@2.9.14
async-graphql-parser@2.9.14
async-graphql-poem@2.9.14
async-graphql-tide@2.9.14
async-graphql-value@2.9.14
async-graphql-warp@2.9.14

Generated by cargo-workspaces
2021-09-03 15:17:19 +08:00
Sunli
ddd9a26142 Release 2.9.13
async-graphql@2.9.13
async-graphql-actix-web@2.9.13
async-graphql-axum@2.9.13
async-graphql-derive@2.9.13
async-graphql-parser@2.9.13
async-graphql-poem@2.9.13
async-graphql-tide@2.9.13
async-graphql-value@2.9.13
async-graphql-warp@2.9.13

Generated by cargo-workspaces
2021-09-01 09:09:52 +08:00
Sunli
005c354ebd Release 2.9.12
async-graphql@2.9.12
async-graphql-actix-web@2.9.12
async-graphql-axum@2.9.12
async-graphql-derive@2.9.12
async-graphql-parser@2.9.12
async-graphql-poem@2.9.12
async-graphql-tide@2.9.12
async-graphql-value@2.9.12
async-graphql-warp@2.9.12

Generated by cargo-workspaces
2021-08-24 16:10:09 +08:00
Sunli
07372a1040 Release 2.9.11
async-graphql@2.9.11
async-graphql-actix-web@2.9.11
async-graphql-axum@2.9.11
async-graphql-derive@2.9.11
async-graphql-parser@2.9.11
async-graphql-tide@2.9.11
async-graphql-value@2.9.11
async-graphql-warp@2.9.11

Generated by cargo-workspaces
2021-08-22 16:59:23 +08:00
Sunli
4f91e5f713 Release 2.9.10
async-graphql@2.9.10
async-graphql-actix-web@2.9.10
async-graphql-axum@2.9.10
async-graphql-derive@2.9.10
async-graphql-parser@2.9.10
async-graphql-tide@2.9.10
async-graphql-value@2.9.10
async-graphql-warp@2.9.10

Generated by cargo-workspaces
2021-08-05 19:15:40 +08:00
Sunli
c80687af80 Clippy clean 2021-07-31 23:54:16 +08:00
Sunli
7a1eded916 Release 2.9.9
async-graphql@2.9.9
async-graphql-actix-web@2.9.9
async-graphql-derive@2.9.9
async-graphql-parser@2.9.9
async-graphql-tide@2.9.9
async-graphql-value@2.9.9
async-graphql-warp@2.9.9

Generated by cargo-workspaces
2021-07-20 15:19:39 +08:00
Sunli
230eb847d8 Add support for the list operator to the input value validator. #579 2021-07-20 15:16:34 +08:00
Yin Jifeng
7e21cfa944 Allow field visible to support paths 2021-07-18 20:16:39 +08:00
Sunli
e6598511e5 Release 2.9.8
async-graphql@2.9.8
async-graphql-actix-web@2.9.8
async-graphql-derive@2.9.8
async-graphql-parser@2.9.8
async-graphql-tide@2.9.8
async-graphql-value@2.9.8
async-graphql-warp@2.9.8

Generated by cargo-workspaces
2021-07-12 11:16:18 +08:00
Sunli
5f9966e052 Release 2.9.7
async-graphql@2.9.7
async-graphql-actix-web@2.9.7
async-graphql-derive@2.9.7
async-graphql-parser@2.9.7
async-graphql-tide@2.9.7
async-graphql-value@2.9.7
async-graphql-warp@2.9.7

Generated by cargo-workspaces
2021-07-04 14:21:37 +08:00
Sunli
2ffbfe7440 Add concrete type support for complex object. 2021-07-04 14:05:08 +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
9d30bcf466 Release 2.9.6
async-graphql@2.9.6
async-graphql-actix-web@2.9.6
async-graphql-derive@2.9.6
async-graphql-parser@2.9.6
async-graphql-tide@2.9.6
async-graphql-value@2.9.6
async-graphql-warp@2.9.6

Generated by cargo-workspaces
2021-07-02 13:20:37 +08:00
Sunli
bee9fd4176 Release 2.9.5
async-graphql@2.9.5
async-graphql-actix-web@2.9.5
async-graphql-derive@2.9.5
async-graphql-parser@2.9.5
async-graphql-tide@2.9.5
async-graphql-value@2.9.5
async-graphql-warp@2.9.5

Generated by cargo-workspaces
2021-06-29 09:46:52 +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
cfd456331b Release 2.9.4
async-graphql@2.9.4
async-graphql-actix-web@2.9.4
async-graphql-derive@2.9.4
async-graphql-parser@2.9.4
async-graphql-tide@2.9.4
async-graphql-value@2.9.4
async-graphql-warp@2.9.4

Generated by cargo-workspaces
2021-06-21 09:53:07 +08:00
Sunli
2dce1ad35f Clippy clean 2021-06-18 10:43:34 +08:00
Sunli
a7478fc8e8 Release 2.9.3
async-graphql@2.9.3
async-graphql-actix-web@2.9.3
async-graphql-derive@2.9.3
async-graphql-parser@2.9.3
async-graphql-tide@2.9.3
async-graphql-value@2.9.3
async-graphql-warp@2.9.3

Generated by cargo-workspaces
2021-06-17 10:54:43 +08:00
Sunli
543ce408b0 Implement InputType and OutputType for [T; N] array. 2021-06-17 10:39:27 +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
aa3bf842e0 Release 2.9.2
async-graphql@2.9.2
async-graphql-actix-web@2.9.2
async-graphql-derive@2.9.2
async-graphql-parser@2.9.2
async-graphql-tide@2.9.2
async-graphql-value@2.9.2
async-graphql-warp@2.9.2

Generated by cargo-workspaces
2021-06-10 10:22:53 +08:00
Sunli
f992e8ab94 Add the operation_name to Extension::execute method. 2021-06-10 10:17:33 +08:00
Sunli
9a7cfb72f5 Allow field guards to support paths. #536 2021-06-08 19:42:53 +08:00
Sunli
c8a2fa03f1 Release 2.9.1
async-graphql@2.9.1
async-graphql-actix-web@2.9.1
async-graphql-derive@2.9.1
async-graphql-parser@2.9.1
async-graphql-tide@2.9.1
async-graphql-value@2.9.1
async-graphql-warp@2.9.1

Generated by cargo-workspaces
2021-06-08 10:24:52 +08:00
Sunli
e7382bf549 Rework error propagation. #531 2021-06-08 10:05:30 +08:00
Sunli
606333e334 Release 2.9.0
async-graphql@2.9.0
async-graphql-actix-web@2.9.0
async-graphql-derive@2.9.0
async-graphql-parser@2.9.0
async-graphql-tide@2.9.0
async-graphql-warp@2.9.0

Generated by cargo-workspaces
2021-06-07 14:23:51 +08:00
Sunli
f8021c0fb5 Add support for returning multiple resolver errors. #531 2021-06-07 14:03:36 +08:00
Sunli
c310566bea Release 2.8.5
async-graphql@2.8.5
async-graphql-actix-web@2.8.5
async-graphql-derive@2.8.5
async-graphql-parser@2.8.5
async-graphql-tide@2.8.5
async-graphql-warp@2.8.5

Generated by cargo-workspaces
2021-05-11 19:16:36 +08:00
Sunli
1e57b6b33a If InputObject contains an unnamed field, the correct error message will be given. #498 2021-05-06 16:44:36 +08:00
Sunli
e11947fa6a Release 2.8.4
async-graphql@2.8.4
async-graphql-actix-web@2.8.4
async-graphql-derive@2.8.4
async-graphql-tide@2.8.4
async-graphql-warp@2.8.4

Generated by cargo-workspaces
2021-04-23 10:41:33 +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
71ddb8e062 Release 2.8.2
async-graphql@2.8.2
async-graphql-actix-web@2.8.2
async-graphql-derive@2.8.2
async-graphql-tide@2.8.2
async-graphql-warp@2.8.2

Generated by cargo-workspaces
2021-04-09 16:57:19 +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
8835f03c92 Release 2.8.1
async-graphql@2.8.1
async-graphql-actix-web@2.8.1
async-graphql-derive@2.8.1
async-graphql-tide@2.8.1
async-graphql-warp@2.8.1

Generated by cargo-workspaces
2021-04-08 13:06:53 +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
213c7b1e5b Release 2.8.0
async-graphql@2.8.0
async-graphql-actix-web@2.8.0
async-graphql-derive@2.8.0
async-graphql-tide@2.8.0
async-graphql-warp@2.8.0

Generated by cargo-workspaces
2021-04-05 13:24:17 +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
b8e89443cf Release 2.7.3
async-graphql@2.7.3
async-graphql-actix-web@2.7.3
async-graphql-derive@2.7.3
async-graphql-tide@2.7.3
async-graphql-warp@2.7.3

Generated by cargo-workspaces
2021-04-02 11:17:41 +08:00
Sunli
e8c0bfc743 Remove useless use. 2021-03-31 19:32:41 +08:00
Sunli
5f60d8d98c Release 2.7.2
async-graphql@2.7.2
async-graphql-actix-web@2.7.2
async-graphql-derive@2.7.2
async-graphql-tide@2.7.2
async-graphql-warp@2.7.2

Generated by cargo-workspaces
2021-03-31 19:30:29 +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
d247ba5c71 Release 2.7.1
async-graphql@2.7.1
async-graphql-actix-web@2.7.1
async-graphql-derive@2.7.1
async-graphql-parser@2.7.1
async-graphql-tide@2.7.1
async-graphql-warp@2.7.1

Generated by cargo-workspaces
2021-03-30 12:00:45 +08:00
Sunli
5d641a79bd Clippy clean 2021-03-26 21:07:45 +08:00
Sunli
29670587d4 Release 2.7.0
async-graphql@2.7.0
async-graphql-actix-web@2.7.0
async-graphql-derive@2.7.0
async-graphql-tide@2.7.0
async-graphql-warp@2.7.0

Generated by cargo-workspaces
2021-03-26 12:07:02 +08:00
Sunli
05911f3516 Rework Extension & TracingExtension & OpenTelemetryExtension 2021-03-26 12:03:10 +08:00
Sunli
354614ca70 Release 2.6.5
async-graphql@2.6.5
async-graphql-actix-web@2.6.5
async-graphql-derive@2.6.5
async-graphql-parser@2.6.5
async-graphql-tide@2.6.5
async-graphql-value@2.6.5
async-graphql-warp@2.6.5
chat@2.6.5
graphql-benchmark@2.6.5
simple@2.6.5

Generated by cargo-workspaces
2021-03-24 17:29:00 +08:00
Sunli
84fe7bfc57 Update dependencies 2021-03-24 12:25:03 +08:00
Sunli
4c024d3498 Release 2.6.0
async-graphql@2.6.0
async-graphql-actix-web@2.6.0
async-graphql-derive@2.6.0
async-graphql-tide@2.6.0
async-graphql-warp@2.6.0

Generated by cargo-workspaces
2021-03-18 10:19:33 +08:00
Sunli
15036be792 Add ComplexObject macro. #355 2021-03-18 10:13:46 +08:00
Sunli
e77fc7d914 Release 2.5.13
async-graphql@2.5.13
async-graphql-actix-web@2.5.13
async-graphql-derive@2.5.13
async-graphql-tide@2.5.13
async-graphql-warp@2.5.13

Generated by cargo-workspaces
2021-03-10 09:25:21 +08:00
Taiki Endo
2bff2ad9dc Support generics in Subscription types 2021-03-09 22:21:56 +09:00
Sunli
40e92f46f1 Release 2.5.12
async-graphql@2.5.12
async-graphql-actix-web@2.5.12
async-graphql-derive@2.5.12
async-graphql-tide@2.5.12
async-graphql-warp@2.5.12

Generated by cargo-workspaces
2021-03-09 18:27:52 +08:00
Sunli
f6c0c33885 Add extends attribute for derive macros Subscription and MergedSubscription. 2021-03-09 15:12:14 +08:00
Sunli
5fdc8d62b4 Release 2.5.10
async-graphql@2.5.10
async-graphql-actix-web@2.5.10
async-graphql-derive@2.5.10
async-graphql-tide@2.5.10
async-graphql-warp@2.5.10

Generated by cargo-workspaces
2021-03-06 08:39:28 +08:00
Sunli
c7d1a8527d Merge pull request #429 from zicklag/master
Improve Resolver Method Return Type Error
2021-03-03 10:51:43 +08:00
Zicklag
8762f7e2d6 Improve Resolver Method Return Type Error 2021-03-02 12:45:07 -06:00
Sunli
ff6f6b7229 Release 2.5.9
async-graphql@2.5.9
async-graphql-actix-web@2.5.9
async-graphql-derive@2.5.9
async-graphql-parser@2.5.9
async-graphql-tide@2.5.9
async-graphql-value@2.5.9
async-graphql-warp@2.5.9

Generated by cargo-workspaces
2021-02-28 09:42:39 +08:00
Sunli
10c41a7841 Release 2.5.8
async-graphql@2.5.8
async-graphql-actix-web@2.5.8
async-graphql-derive@2.5.8
async-graphql-tide@2.5.8
async-graphql-warp@2.5.8

Generated by cargo-workspaces
2021-02-27 12:00:40 +08:00
Sunli
4ebe0dd4cd Allow the deprecation attribute to have no reason. 2021-02-27 11:59:58 +08:00
Sunli
68b5ed680f Improve the performance of introspection queries. 2021-02-24 12:06:11 +08:00
Sunli
beb2f144b3 Release 2.5.5
async-graphql@2.5.5
async-graphql-actix-web@2.5.5
async-graphql-derive@2.5.5
async-graphql-parser@2.5.5
async-graphql-tide@2.5.5
async-graphql-warp@2.5.5

Generated by cargo-workspaces
2021-02-22 09:54:49 +08:00
Sunli
5c66a9cdda Add support for Federation nested keys. 2021-02-21 23:06:26 +08:00
Sunli
f78345a0c2 Release 2.5.4
async-graphql@2.5.4
async-graphql-actix-web@2.5.4
async-graphql-derive@2.5.4
async-graphql-parser@2.5.4
async-graphql-tide@2.5.4
async-graphql-warp@2.5.4

Generated by cargo-workspaces
2021-02-15 09:29:44 +08:00
Sunli
ad03dff728 Release 2.5.3
async-graphql@2.5.3
async-graphql-actix-web@2.5.3
async-graphql-derive@2.5.3
async-graphql-parser@2.5.3
async-graphql-tide@2.5.3
async-graphql-warp@2.5.3

Generated by cargo-workspaces
2021-02-13 10:42:14 +08:00
Sunli
361d8d049f Fixed getting "custom attribute panicked" message when using [#Object] helper. #409 2021-02-13 09:09:29 +08:00
Sunli
418d1fe8ad Release 2.5.0
async-graphql@2.5.0
async-graphql-actix-web@2.5.0
async-graphql-derive@2.5.0
async-graphql-tide@2.5.0
async-graphql-warp@2.5.0

Generated by cargo-workspaces
2021-01-17 13:41:18 +08:00
Sunli
6e7a67c2b0 Release 2.4.11
async-graphql@2.4.11
async-graphql-actix-web@2.4.11
async-graphql-derive@2.4.11
async-graphql-tide@2.4.11
async-graphql-warp@2.4.11

Generated by cargo-workspaces
2021-01-15 10:31:36 +08:00
Sunli
66aadd6319 Add NewType derive macro. #388 2021-01-15 10:29:03 +08:00
Sunli
8ee82b3d6e Release 2.4.10
async-graphql@2.4.10
async-graphql-actix-web@2.4.10
async-graphql-derive@2.4.10
async-graphql-tide@2.4.10
async-graphql-warp@2.4.10
graphql-benchmark@2.4.10

Generated by cargo-workspaces
2021-01-14 19:23:37 +08:00
Sunli
9c6fe67a23 Fix a bug that cause generic InputObject and SimpleObject is incorrect name. #387 2021-01-14 19:20:28 +08:00
Sunli
9ddff2c014 Release 2.4.9
async-graphql@2.4.9
async-graphql-actix-web@2.4.9
async-graphql-derive@2.4.9
async-graphql-tide@2.4.9
async-graphql-warp@2.4.9
graphql-benchmark@2.4.9

Generated by cargo-workspaces
2021-01-14 13:17:16 +08:00
Sunli
85a0ab0da1 Add support for generic SimpleObject. #387 2021-01-14 13:16:30 +08:00
Sunli
b054fc0704 Add Send + Sync constraints for InputType, OutputType and SubscriptionType. 2021-01-14 12:41:59 +08:00
Sunli
f28433d741 Release 2.4.8
async-graphql@2.4.8
async-graphql-actix-web@2.4.8
async-graphql-derive@2.4.8
async-graphql-tide@2.4.8
async-graphql-warp@2.4.8

Generated by cargo-workspaces
2021-01-14 11:29:40 +08:00
Sunli
74657c6242 Add support for generic InputObject. #387 2021-01-14 11:27:15 +08:00
Sunli
b8279d1e44 Release 2.4.6
async-graphql@2.4.6
async-graphql-actix-web@2.4.6
async-graphql-derive@2.4.6
async-graphql-parser@2.4.6
async-graphql-tide@2.4.6
async-graphql-warp@2.4.6

Generated by cargo-workspaces
2021-01-10 13:50:13 +08:00
Sunli
5a29f74062 #[Object] on impl dyn TraitObj. #381 2021-01-10 11:21:47 +08:00
Sunli
6f63eb9223 Release 2.4.5
async-graphql@2.4.5
async-graphql-actix-web@2.4.5
async-graphql-derive@2.4.5
async-graphql-parser@2.4.5
async-graphql-tide@2.4.5
async-graphql-warp@2.4.5

Generated by cargo-workspaces
2021-01-06 11:03:06 +08:00
Sunli
6bc74ba15b Release 2.4.3
async-graphql@2.4.3
async-graphql-actix-web@2.4.3
async-graphql-derive@2.4.3
async-graphql-tide@2.4.3
async-graphql-warp@2.4.3

Generated by cargo-workspaces
2020-12-28 19:41:10 +08:00
Sunli
8f32e8e81e Fix #[Object] macro panic with default u32. #361 2020-12-28 18:39:17 +08:00
Sunli
1f93298164 Release 2.4.0
async-graphql@2.4.0
async-graphql-actix-web@2.4.0
async-graphql-derive@2.4.0
async-graphql-tide@2.4.0
async-graphql-warp@2.4.0

Generated by cargo-workspaces
2020-12-21 19:57:05 +08:00
Aaron Hill
d8780bd720 Strip r# prefix when constructing getter ident
When calling `to_string()` on an identifier, the returned string will
have an `r#` prefix if the original identifer was a raw identifier. This
prefix needs to be removed if the identifier is interpolated into
another identifier (e.g. `__some_prefix__r#other_ident`) in order for
the new identifier to be valid.

This issue was previously masked due to the fact that the relevant test
uses `r#i32`. It's possible to use `i32` as a normal (non-raw) ident -
due to a bug in rustc, this means that the user-supplied `r#` prefix
will be lost when calling `to_string()`. This bug will eventually be
fixed, causing `to_string()` to start returning `r#i32` instead of
`i32`.

This commit strips the `r#` prefix (if present) from an identifier
before using it to construct a new identifier. The relevant test is
updated to use `r#match`, which actually requires the `r#` prefix to be
a valid identifier. This causes the test to fail without this patch on
current versions of Rust.
2020-12-20 19:08:22 -05:00
Sunli
f8b8099209 Release 2.3.2
async-graphql@2.3.2
async-graphql-actix-web@2.3.2
async-graphql-derive@2.3.2
async-graphql-tide@2.3.2
async-graphql-warp@2.3.2

Generated by cargo-workspaces
2020-12-19 18:40:00 +08:00
Sunli
6043543df7 Add custom complexity for subscription. 2020-12-19 18:39:33 +08:00
Sunli
fa66dda3b6 Release 2.3.0
async-graphql@2.3.0
async-graphql-actix-web@2.3.0
async-graphql-derive@2.3.0
async-graphql-tide@2.3.0
async-graphql-warp@2.3.0

Generated by cargo-workspaces
2020-12-18 19:09:43 +08:00
Sunli
bf9e3ec578 Improve depth and complex. 2020-12-18 18:56:28 +08:00
Sunli
8bc6524895 Release 2.2.0
async-graphql@2.2.0
async-graphql-actix-web@2.2.0
async-graphql-derive@2.2.0
async-graphql-tide@2.2.0
async-graphql-warp@2.2.0

Generated by cargo-workspaces
2020-12-15 20:30:36 +08:00
Sunli
fe24247c9d Add the skip attribute to the InputObject fields. 2020-12-15 20:29:59 +08:00
Sunli
43aa06e8dd Release 2.1.8
async-graphql@2.1.8
async-graphql-actix-web@2.1.8
async-graphql-derive@2.1.8
async-graphql-tide@2.1.8
async-graphql-warp@2.1.8

Generated by cargo-workspaces
2020-12-12 17:05:40 +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
6350030853 Release 2.1.4
async-graphql@2.1.4
async-graphql-actix-web@2.1.4
async-graphql-derive@2.1.4
async-graphql-tide@2.1.4
async-graphql-warp@2.1.4

Generated by cargo-workspaces
2020-11-23 12:51:43 +08:00
Sunli
3a5cc3aae2 Clippy clean 2020-11-23 12:50:35 +08:00
Sunli
e9fb053dae Release 2.1.3
async-graphql@2.1.3
async-graphql-actix-web@2.1.3
async-graphql-derive@2.1.3
async-graphql-tide@2.1.3
async-graphql-warp@2.1.3

Generated by cargo-workspaces
2020-11-22 09:54:14 +08:00
Sunli
12b3b0ee46 Fix async_graphql::Object does not work when inside macro after rust 1.48.0 2020-11-22 09:53:18 +08:00