Commit Graph

217 Commits

Author SHA1 Message Date
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
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
Sunli fb283dc367 Update CHANGELOG.md 2021-11-03 16:20:41 +08:00
Sunli 9fc4c0b02a Update CHANGELOG.md 2021-11-03 15:33:58 +08:00
Sunli 9ce89683d3 Update CHANGELOG.md 2021-11-02 20:35:43 +08:00
Sunli 38dcc7d582 update ci 2021-11-02 20:34:41 +08:00
Sunli 619dcd7854 Update CHANGELOG.md 2021-10-27 20:08:12 +08:00
Sunli 16f216c18f Update CHANGELOG.md 2021-10-26 20:45:34 +08:00
Sunli 9b5149ee23 Respect query object field order. #612 2021-10-26 19:02:15 +08:00
Sunli b2cf9cfd98 Update CHANGELOG.md 2021-10-23 19:34:26 +08:00
Sunli 8da1440695 Update CHANGELOG.md 2021-10-22 10:44:41 +08:00
Sunli 0c2617a72a Update CHANGELOG.md 2021-10-22 10:38:29 +08:00
Sunli 5cba73a03e Update CHANGELOG.md 2021-10-12 17:56:48 +08: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 94d0c7f6d4 Update CHANGELOG 2021-09-29 15:57:15 +08:00
Sunli dc56f26cd2 Update CHANGELOG.md 2021-09-24 21:55:47 +08:00
Sunli 23bcf4cdfd Change log level. #518 2021-09-24 10:54:52 +08:00
Sunli 2733a6b2db Update CHANGELOG.md 2021-09-17 10:26:10 +08:00
Sunli ee0e917813 Implement ScalarType for HashMap/BTreeMap to use ToString/FromStr. #585 2021-09-17 09:17:47 +08:00
Sunli e342610d29 Add feature gate `websocket` for async-graphql-tide. 2021-09-17 08:40:28 +08:00
Sunli 024a143f11 Add support for graphql-ws pings. #635 2021-09-16 21:10:39 +08:00
Sunli 65e625f172 Update CHANGELOG.md 2021-09-10 11:58:07 +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 bdd4c2c3ef Update CHANGELOG 2021-09-02 20:06:39 +08:00
Sunli 8f061ac105 Update CHANGELOG.md 2021-09-01 09:18:19 +08:00
Sunli fc448ce17c Update CHANGELOG.md 2021-08-24 15:35:29 +08:00
Sunli 97f9773c4d Update CHANGELOG.md 2021-08-22 16:56:15 +08:00
Sunli a42fa0a062 Update CHANGELOG.md 2021-08-19 11:21:23 +08:00
Diego Stratta 37a05f4bb5 Update CHANGELOG.md 2021-08-13 23:13:09 -03:00
Sunli 7f3d3c80aa Update CHANGELOG.md 2021-08-05 19:14:43 +08:00
Tim Maddison 060d6c3e8c Add with_setting changes to changelog 2021-07-23 10:20:52 +01:00
Sunli b715d2b5cb Update CHANGELOG.md 2021-07-20 15:18:48 +08:00
Sunli 230eb847d8 Add support for the `list` operator to the input value validator. #579 2021-07-20 15:16:34 +08:00
Sunli ecf8890e7e Implemented `OutputType` for Bytes. #569 2021-07-18 21:42:39 +08:00
Sunli 7b9942ef10 Merge pull request #575 from oeed/master
Implement `TryFrom<&[SelectionField<'a>]>` for `Lookahead<'a>`
2021-07-15 15:11:11 +08:00
Oliver Cooper 5801d11196 Update CHANGELOG.md 2021-07-15 16:05:31 +12:00
Sunli 7942721018 Merge pull request #574 from oeed/master
Changed Lookahead to support multiple fields
2021-07-15 10:00:38 +08:00
Oliver Cooper e4918f8588 Update CHANGELOG.md 2021-07-15 13:58:05 +12:00
Sunli 46d1d48618 Update CHANGELOG.md 2021-07-15 09:47:59 +08:00
Sunli 8b36b2e5a9 Update CHANGELOG.md 2021-07-14 11:52:24 +08:00
Sunli 6cb002d3d3 Update CHANGELOG.md 2021-07-12 11:15:46 +08:00
Rodgers 90c924588a Add Changelog 2021-07-09 18:57:30 +07:00
Sunli 54d4b21396 Update CHANGELOG.md 2021-07-04 14:14:41 +08:00
Sunli faad0a3f27 Update CHANGELOG.md 2021-07-02 10:56:51 +08:00
Sunli 44de5bbd19 Update CHANGELOG.md 2021-06-29 09:32:10 +08:00
Sunli c367f15b05 Fix the bug that `MergedObject` may cause panic. #539 2021-06-21 09:48:19 +08:00
Sunli ee4493fef6 Update CHANGELOG.md 2021-06-17 10:55:30 +08:00