Commit Graph

707 Commits

Author SHA1 Message Date
Miaxos
a3b7777516 feat: add visible macro argument for union type 2021-10-11 21:54:50 +00:00
Oliver Cooper
bb74b2f46d Document selection_fields 2021-09-28 16:50:27 +13:00
Oliver Cooper
2725bb7b03
Merge branch 'async-graphql:master' into master 2021-09-27 11:56:42 +13:00
Oliver Cooper
258fda403b Get selection fields from Lookahead 2021-09-27 11:56:27 +13:00
Sunli
097c570c0b Change log level. #518 2021-09-24 10:54:52 +08:00
Sunli
71b16ed534 Change the execution order of chain and race guards. #614 2021-09-24 10:30:46 +08:00
Sunli
7a464c15eb Add DataLoader::enable_all_cache and DataLoader::enable_cache methods. #642 2021-09-24 09:46:19 +08:00
Miaxos
bcb9981e56 misc: add documentations for naive_time url and uuid 2021-09-20 13:54:30 +00:00
Sunli
b590cea008 Implement ScalarType for HashMap/BTreeMap to use ToString/FromStr. #585 2021-09-17 09:17:47 +08:00
Sunli
243e1d323a Add support for graphql-ws pings. #635 2021-09-16 21:10:39 +08:00
Sunli
9b383baa6b Fix typo 2021-09-03 15:15:41 +08:00
Erik Tesar
0c1d4963aa
fix: fix build and gate cbor behind feature flag 2021-09-02 15:58:37 +02:00
Erik Tesar
ff0469a09f
Merge feat/multipart into master 2021-09-02 15:32:08 +02:00
Erik Tesar
b02dd801b0
feat: implement cbor in multipart 2021-09-02 15:27:44 +02:00
Sunli
3a648d00d0 Update mod.rs 2021-09-02 20:19:08 +08:00
Sunli
9dae0ad8c8 Update CHANGELOG 2021-09-02 20:06:39 +08:00
Sunli
a8d6163027 Merge branch 'master' of https://github.com/minkan-chat/async-graphql into pr/619 2021-09-02 20:03:02 +08: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
Erik Tesar
c18547e9e3
style: cargo fmt
please note that clippy probably will still fail, because this fork was created before c4cfa24e41
2021-09-02 13:37:18 +02:00
Erik Tesar
335e749429
fix: mark error types with Send and Sync 2021-09-02 13:35:34 +02:00
Erik Tesar
800eb4b10a
fix: ParseRequestError::InvalidFilesMap now is dyn std::error::Error 2021-09-02 12:21:34 +02:00
Sunli
94d2791601 Merge branch 'poem-integration' 2021-08-24 15:23:21 +08:00
Sunli
853cf65546 Add Poem integration. 2021-08-24 15:23:12 +08:00
Oliver Cooper
7dcea3c721 Ignore items flagged @skip in SelectionField and Lookahead 2021-08-20 10:49:20 +12:00
Diego Stratta
f6be0786a0 Implement From<MaybeUndefined<T>> for Option<Option<T>> 2021-08-13 19:24:04 -03:00
Julian Tescher
85fd626f30
Update opentelemetry to v0.16.x 2021-08-07 13:10:40 -07:00
Nicolai Unrein
23a0c84aa9 Remove unnecessary unwrap in multipart handler
The call to `unwrap` is not save at this point and will panic on connection errors/disconnects.
Instead a `ParseRequestError::InvalidMultipart(multer::Error)` will now get returned instead.
2021-08-03 11:59:23 +02:00
Sunli
5eafa69626 Add Axum integration. 2021-08-03 08:56:24 +08:00
Erik Tesar
c1cc30d421
decide which decoder to use based on content-type 2021-07-31 14:52:56 +02:00
Erik Tesar
661a416c00
always use cbor methode for deserialization 2021-07-28 17:37:47 +02:00
Erik Tesar
93e4bc5a2b
try to use cbor decoding 2021-07-27 21:37:30 +02:00
Miaxos
11c67e6cc3 misc: boxed error 2021-07-26 17:32:49 +00:00
cloudybyte
9fe4188196
try to add cbor support 2021-07-26 17:29:52 +02:00
Tim Maddison
ef70b913e4 Reformat 2021-07-23 10:09:02 +01:00
Tim Maddison
f9451c09b9 Change with_setting to accept any JSON value 2021-07-23 09:44:04 +01:00
Sunli
28d22dbe32 Add support for the list operator to the input value validator. #579 2021-07-20 15:16:34 +08:00
Sunli
1468cc91bb Implemented OutputType for Bytes. #569 2021-07-18 21:42:39 +08:00
Sunli
9046b288ad Sort the types in the exported SDL by name. #577 2021-07-17 10:13:42 +08:00
Sunli
d116dc2950 Make Schema::execute return HTTP headers when an error occurs. #572 2021-07-16 07:47:43 +08:00
Oliver Cooper
a1c9c6c8ba Replaced panicking From with TryFrom 2021-07-15 16:03:33 +12:00
Oliver Cooper
248136d0b6 Added From<&[SelectionField<'a>]> for Lookahead<'a> 2021-07-15 15:51:44 +12:00
Oliver Cooper
a868a9ab07 Changed Lookahead to support multiple fields 2021-07-15 13:16:55 +12:00
Sunli
abf4d5ffb6 Fix SDL print is not stable. #547 2021-07-12 11:14:26 +08:00
Rodgers
572b363798 Fix clippy error of map_err 2021-07-09 18:59:54 +07:00
Rodgers
55fcdf4c5d Keep map_err compatible 2021-07-09 08:20:30 +07:00
Rodgers
0417f4181a Update AND, OR, and MapErr logic. Update logic for object input 2021-07-08 23:43:12 +07:00
Rodgers
ab277494d7 Add is_valid_with_extensions 2021-07-08 21:37:38 +07:00
Rodgers
c0b5c22c64 Add report_error_with_extensions 2021-07-08 20:02:49 +07:00
Bram Hoendervangers
648515265b Add decimal scalar 2021-07-01 23:47:30 +02:00