Commit Graph

162 Commits

Author SHA1 Message Date
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
Sunli
502bfb8670 Add url, regex and ip validators. 2021-11-17 11:12:52 +08:00
Sunli
325063f4c4 Update CHANGELOG.md 2021-11-16 18:18:37 +08:00
Sunli
78b3a82769 Update CHANGELOG.md 2021-11-16 16:22:38 +08:00
Sunli
ec833f7b6f Update CHANGELOG.md 2021-11-16 15:06:39 +08:00
Sunli
dd13716072 Add ErrorExtensionValues::unset method. 2021-11-16 15:04:29 +08:00
Sunli
789cf57d32 Change the signature of the connection::query function to allow the callback to use any type that implements Into<Error>. #671 2021-11-13 21:41:58 +08:00
Sunli
b595c0e387 Update CHANGELOG.md 2021-11-13 09:29:25 +08:00
Sunli
d3b4c78d81 Update CHANGELOG.md 2021-11-11 08:57:23 +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
ff994dc1ec Fix the problem that EmptyMutation may cause when used in MergedObject. #694 2021-11-08 08:45:14 +08:00
Sunli
dbc0862894 Rework Failure 3 #671 2021-11-07 19:11:43 +08:00
Sunli
01f53fc865 Merge pull request #692 from SadiinsoSnowfall/master
Added map, contains and transpose function to MaybeUndefined
2021-11-05 09:29:17 +08:00
Sunli
0bcf4f55b8 Update CHANGELOG.md 2021-11-05 09:27:20 +08:00
SadiinsoSnowfall
0e234f52e7 Updated changelog 2021-11-04 13:47:54 +01:00
Sunli
727b825e6d Update CHANGELOG.md 2021-11-04 14:35:48 +08:00
Sunli
e73c142ce8 Add Failure type. #671 2021-11-04 14:33:04 +08:00
Sunli
5c6fd0cd5a Add MaybeUndefined::as_opt_ref and MaybeUndefined::as_opt_deref methods. #688 2021-11-04 09:44:16 +08:00
Sunli
1eeb804fd3 Update CHANGELOG.md 2021-11-04 09:15:25 +08:00
Sunli
3b1dc774bb Update CHANGELOG.md 2021-11-03 16:21:12 +08:00