Commit Graph

177 Commits

Author SHA1 Message Date
Sunli
632529ee3e Add support for oneof field on object. #766 2022-03-04 21:24:17 +08:00
Sunli
f9fa4e9cc2 Update CHANGELOG.md 2022-03-04 10:22:20 +08:00
Sunli
f1f2371f00 Bump actix-web from 4.0.0-rc.2 to 4.0.0-rc.3 2022-02-17 19:36:13 +08:00
Sunli
b84129c650 Add OneOfObject macro to support for oneof input object. #766 2022-02-17 19:35:55 +08:00
Sunli
3aa4b41940 Implement ScalarType for time::Date. #822 2022-02-15 15:36:18 +08:00
Sunli
c4f74c083d Bump Actix-web from 4.0.0-beta.19 to 4.0.0-rc.2 2022-02-06 16:22:54 +08:00
Sunli
ca15d27215 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
e8f14f328f Fix possible stack overflow in validator. 2022-01-28 09:46:14 +08:00
Sunli
3104e0bc8d Add skip_input attribute to InputObject macro, skip_output attribute to SimpleObject macro. #797 2022-01-26 17:54:24 +08:00
Sunli
c9ef19fbff Update CHANGELOG.md 2022-01-25 09:28:04 +08:00
Sunli
7d58bd814d Fix the problem that some integrations overwritten HTTP headers. #793 2022-01-24 14:14:07 +08:00
Sunli
7d68c49abb Remove 'static bound for impl From<T> for Error. 2022-01-24 10:56:47 +08:00
Sunli
9b43b136e8 Implement InputType for Box<str> and Arc<str>. #792 2022-01-21 10:25:50 +08:00
BratSinot
d841218fcf Update changelog. 2022-01-19 14:43:01 +02:00
Sunli
c09766b8cb Update CHANGELOG.md 2022-01-18 10:45:29 +08:00
Sunli
3217f7aecd Add support flatten attribute for SimpleObject, ComplexObject and Object macros. #533 2022-01-18 10:33:07 +08:00
Sunli
334307b2c2 Add Union and Interface support for trait objects. #780
Clippy clean
2022-01-11 09:35:09 +08:00
Sunli
a551e446f4 Update CHANGELOG.md 2022-01-05 12:46:14 +08:00
Sunli
db3706dafa Clippy 2021-12-30 10:16:49 +08:00
BratSinot
bc73850e6e Update CHANGELOG. 2021-12-28 13:05:32 +02:00
Sunli
eca8cdf86c Fix field guards not working on ComplexObject. #767 2021-12-26 10:42:36 +08:00
Anthony Griffon
f387eb1005
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
91dccfd3cd Update CHANGELOG 2021-12-17 09:47:21 +08:00
Sunli
6949bad811 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
42f23ad950 Update CHANGELOG.md 2021-12-12 10:12:05 +08:00
Sunli
e2666d4080 Update CHANGELOG.md 2021-12-08 13:46:40 +08:00
Sunli
842159eff9 Rework to implement InputType and OutputType for HashMap and BTreeMap. 2021-12-07 11:28:43 +08:00
Sunli
7ff5741a30 No longer assumes that a subscription stream that failed to resolve has ended. #744 2021-12-07 11:00:53 +08:00
Sunli
4ef8d393c1 Update CHANGELOG.md 2021-12-05 10:58:37 +08:00
Sunli
262e0d4cbe Update CHANGELOG.md 2021-12-05 09:45:12 +08:00
Sunli
031f2391b5 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
d5e55e7f31 Update CHANGELOG.md 2021-12-04 14:41:52 +08:00
Sunli
1cecffb21d Update CHANGELOG.md 2021-12-02 20:25:27 +08:00
Sunli
71deda0523 Fix panic on f32-64::INFINITE/f32-64::NEG_INFINITE/f32-64::NAN output. #735 2021-12-02 20:19:17 +08:00
Sunli
40a7192919 Fix the custom validator cannot work on Option<Vec<T>>. 2021-11-30 13:46:23 +08:00
Sunli
7034734cb4 Fix the validator cannot work on Option<Vec<T>>. 2021-11-30 12:03:55 +08:00
Sunli
5f1e9e9e59 Update CHANGELOG.md 2021-11-30 09:47:42 +08:00
Sunli
b7ba6844af #[grapql(validator(list))] no longer applies to max_items and min_items. 2021-11-30 09:40:02 +08:00
Sunli
f6fe15554d Fix error extensions cause stack overflow #719 2021-11-23 09:02:52 +08:00
Sunli
e1df643d4f Update CHANGELOG.md 2021-11-21 12:37:31 +08:00
Sunli
81e4cc2142 Custom directive 2021-11-20 09:04:46 +08:00
Sunli
4a2eef7aa6 Update CHANGELOG.md 2021-11-19 08:35:03 +08:00
Sunli
477c3ba78a Update CHANGELOG.md 2021-11-18 20:17:05 +08:00
Sunli
26275aaa4b Remove skipped fields from the document before executing the query. 2021-11-18 19:37:10 +08:00
Sunli
94816b84dc 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
7275c7ded8 Make GraphQLWebSocket::new use generic stream.
Add `GraphQLWebSocket::new_with_pair` method.
2021-11-18 09:25:32 +08:00
Sunli
723bb10912 Add url, regex and ip validators. 2021-11-17 11:12:52 +08:00
Sunli
1c3e109742 Update CHANGELOG.md 2021-11-16 18:18:37 +08:00
Sunli
9d94d093c2 Update CHANGELOG.md 2021-11-16 16:22:38 +08:00
Sunli
7b8981a751 Update CHANGELOG.md 2021-11-16 15:06:39 +08:00