Commit Graph

181 Commits

Author SHA1 Message Date
Sunli
2bf314f614 Update CHANGELOG.md 2022-03-14 10:09:45 +08:00
Sunli
8909752107 Add support group attribute to Object/SimpleObject/ComplexObject/Subscription macros. #838 2022-03-14 09:28:34 +08:00
BratSinot
f0f1804214 Make HashMap more generic. 2022-03-11 10:47:32 +02:00
Sunli
5dad855f8e Export @oneOf directive to SDL when Oneof type is defined. #766 2022-03-05 09:06:59 +08:00
Sunli
a4b840a984 Add support for oneof field on object. #766 2022-03-04 21:24:17 +08:00
Sunli
cbba51b229 Update CHANGELOG.md 2022-03-04 10:22:20 +08:00
Sunli
c2c7763202 Bump actix-web from 4.0.0-rc.2 to 4.0.0-rc.3 2022-02-17 19:36:13 +08:00
Sunli
df3312363e Add OneOfObject macro to support for oneof input object. #766 2022-02-17 19:35:55 +08:00
Sunli
dcf58450e8 Implement ScalarType for time::Date. #822 2022-02-15 15:36:18 +08:00
Sunli
b5e29bd590 Bump Actix-web from 4.0.0-beta.19 to 4.0.0-rc.2 2022-02-06 16:22:54 +08:00
Sunli
bf05607e84 Implement InputType and OutputType for Box<[T]> and Arc<[T]>. [#805](https://github.com/async-graphql/async-graphql/issues/805) 2022-01-31 20:01:29 +08:00
Sunli
7dfebf99fd Fix possible stack overflow in validator. 2022-01-28 09:46:14 +08:00
Sunli
334b6efe99 Add skip_input attribute to InputObject macro, skip_output attribute to SimpleObject macro. #797 2022-01-26 17:54:24 +08:00
Sunli
96cfe5cc5c Update CHANGELOG.md 2022-01-25 09:28:04 +08:00
Sunli
c2feefdf09 Fix the problem that some integrations overwritten HTTP headers. #793 2022-01-24 14:14:07 +08:00
Sunli
2b0e29bc92 Remove 'static bound for impl From<T> for Error. 2022-01-24 10:56:47 +08:00
Sunli
2eef75510f Implement InputType for Box<str> and Arc<str>. #792 2022-01-21 10:25:50 +08:00
BratSinot
d1006ead0b Update changelog. 2022-01-19 14:43:01 +02:00
Sunli
c1a4481dda Update CHANGELOG.md 2022-01-18 10:45:29 +08:00
Sunli
cea21fbe45 Add support flatten attribute for SimpleObject, ComplexObject and Object macros. #533 2022-01-18 10:33:07 +08:00
Sunli
707890e551 Add Union and Interface support for trait objects. #780
Clippy clean
2022-01-11 09:35:09 +08:00
Sunli
f212ae30ab Update CHANGELOG.md 2022-01-05 12:46:14 +08:00
Sunli
61d1486cd8 Clippy 2021-12-30 10:16:49 +08:00
BratSinot
f5593a27e1 Update CHANGELOG. 2021-12-28 13:05:32 +02:00
Sunli
9f51772ad9 Fix field guards not working on ComplexObject. #767 2021-12-26 10:42:36 +08:00
Anthony Griffon
9a62a7c5ac fix: issue when empty with federation spec on _Entity node
Signed-off-by: Anthony Griffon <anthony@griffon.one>
2021-12-22 18:16:56 +01:00
Sunli
5e6428ed18 Update CHANGELOG 2021-12-17 09:47:21 +08:00
Sunli
0ae21b9914 Release 3.0.16
async-graphql@3.0.16
async-graphql-actix-web@3.0.16
async-graphql-axum@3.0.16
async-graphql-poem@3.0.16
async-graphql-tide@3.0.16
async-graphql-warp@3.0.16

Generated by cargo-workspaces
2021-12-16 13:23:27 +08:00
Sunli
f2fd221989 Update CHANGELOG.md 2021-12-12 10:12:05 +08:00
Sunli
da2ae44dec Update CHANGELOG.md 2021-12-08 13:46:40 +08:00
Sunli
f718df1a42 Rework to implement InputType and OutputType for HashMap and BTreeMap. 2021-12-07 11:28:43 +08:00
Sunli
eb27b0856e No longer assumes that a subscription stream that failed to resolve has ended. #744 2021-12-07 11:00:53 +08:00
Sunli
5ad354f77f Update CHANGELOG.md 2021-12-05 10:58:37 +08:00
Sunli
c6d75b0550 Update CHANGELOG.md 2021-12-05 09:45:12 +08:00
Sunli
922c2324e2 Add some helper methods for BatchRequest.
- BatchRequest::iter
- BatchRequest::iter_mut
- BatchRequest::variables
- BatchRequest::data
- BatchRequest::disable_introspection
2021-12-04 15:14:42 +08:00
Sunli
2a8ddd80fd Update CHANGELOG.md 2021-12-04 14:41:52 +08:00
Sunli
49864ca398 Update CHANGELOG.md 2021-12-02 20:25:27 +08:00
Sunli
09be5e0021 Fix panic on f32-64::INFINITE/f32-64::NEG_INFINITE/f32-64::NAN output. #735 2021-12-02 20:19:17 +08:00
Sunli
86f10c5397 Fix the custom validator cannot work on Option<Vec<T>>. 2021-11-30 13:46:23 +08:00
Sunli
c0a257dc7d Fix the validator cannot work on Option<Vec<T>>. 2021-11-30 12:03:55 +08:00
Sunli
0ffbd08820 Update CHANGELOG.md 2021-11-30 09:47:42 +08:00
Sunli
4a265ed29d #[grapql(validator(list))] no longer applies to max_items and min_items. 2021-11-30 09:40:02 +08:00
Sunli
4d0fdd9e0f Fix error extensions cause stack overflow #719 2021-11-23 09:02:52 +08:00
Sunli
cae0fe3f02 Update CHANGELOG.md 2021-11-21 12:37:31 +08:00
Sunli
1b50738af7 Custom directive 2021-11-20 09:04:46 +08:00
Sunli
5c5e5c907c Update CHANGELOG.md 2021-11-19 08:35:03 +08:00
Sunli
b653a6eb20 Update CHANGELOG.md 2021-11-18 20:17:05 +08:00
Sunli
eb9cda4c80 Remove skipped fields from the document before executing the query. 2021-11-18 19:37:10 +08:00
Sunli
559bbedd3e Allowed use validators on wrapper types, for example: Option<T>, MaybeUnefined<T>.
Remove `OutputJson` because `Json` can replace it.
2021-11-18 15:43:12 +08:00
Sunli
bd621f70c1 Make GraphQLWebSocket::new use generic stream.
Add `GraphQLWebSocket::new_with_pair` method.
2021-11-18 09:25:32 +08:00