Commit Graph

217 Commits

Author SHA1 Message Date
Sunli 543ce408b0 Implement `InputType` and `OutputType` for `[T; N]` array. 2021-06-17 10:39:27 +08:00
Sunli 466bb5e582 Update CHANGELOG.md 2021-06-16 17:21:45 +08:00
Sunli 4256392091 Update CHANGELOG.md 2021-06-16 15:09:44 +08:00
Yin Jifeng 05edf40b39 feat: support bson v2.0.0-beta 2021-06-11 11:00:19 +08:00
Sunli 5e0955b8e6 Update CHANGELOG.md 2021-06-10 10:18:30 +08:00
Sunli 9a7cfb72f5 Allow field guards to support paths. #536 2021-06-08 19:42:53 +08:00
Sunli 2e2ef28c44 Update CHANGELOG.md 2021-06-08 10:26:17 +08:00
Sunli 3163878937 Update CHANGELOG.md 2021-06-08 10:26:00 +08:00
Sunli a2d0e965f1 Update CHANGELOG.md 2021-06-07 14:38:32 +08:00
Sunli f53fe4111f Update CHANGELOG & Docs 2021-06-07 14:22:45 +08:00
Sunli 535c0e82e4 Update changelog 2021-06-01 17:13:21 +08:00
Sunli 258a5e19a7 Update CHANGELOG.md 2021-05-18 10:03:26 +08:00
Sunli 9b1b2cee90 Update CHANGELOG.md 2021-05-11 19:17:16 +08:00
Sunli b0603c099c Update CHANGELOG.md 2021-05-11 15:30:04 +08:00
Sunli ba88362eb9 Update CHANGELOG.md 2021-05-08 14:11:56 +08:00
Sunli 63738e9a3a Rustfmt 2021-05-08 14:10:59 +08:00
Sunli dfff853336 Update CHANGELOG.md 2021-05-06 16:45:43 +08:00
Sunli bdeeff328a Fix the problem that the `ComplexObject` macro cannot work due to the `secret` attribute. 2021-04-23 10:25:00 +08:00
Sunli ce39fe70c1 Update CHANGELOG.md 2021-04-12 15:56:25 +08:00
Sunli 866ce5b27d Update CHANGELOG.md 2021-04-09 16:56:42 +08:00
Sunli a30dc64336 Update CHANGELOG.md 2021-04-08 11:33:09 +08:00
Sunli a9ac598e2e Add secret attribute for arguments, they will not appear in the log. #463 2021-04-07 19:40:19 +08:00
Sunli 9aca5a68bb Update CHANGELOG.md 2021-04-05 13:25:00 +08:00
Sunli a822c873f1 Add `async_graphql_warp::graphql_protocol`, `async_graphql_warp::graphql_subscription_upgrade` and `async_graphql_warp::graphql_subscription_upgrade_with_data` to control WebSocket subscription more finely. 2021-04-05 13:24:39 +08:00
Sunli 4003baa2a5 Add `async_graphql_warp::graphql_protocol`, `async_graphql_warp::graphql_subscription_upgrade` and `async_graphql_warp::graphql_subscription_upgrade_with_data` to control WebSocket subscription more finely. 2021-04-05 13:20:02 +08:00
Sunli 81e053811b Improve Extensions. 2021-04-05 12:21:02 +08:00
Sunli 824356d118 Rework Extension 2021-04-04 14:37:41 +08:00
Sunli 8a67781180 Add the `BuildHasher` generic parameter to `dataloader::HashMapCache` to allow custom hashing algorithms. #455 2021-04-02 18:22:06 +08:00
Sunli 018d56d2ca Update CHANGELOG.md 2021-04-02 11:20:00 +08:00
Sunli fc91672ec4 Add `SelectionField::alias` and `SelectionField::arguments` methods. 2021-04-02 11:04:59 +08:00
Sunli d6c47f718c Update CHANGELOG.md 2021-04-01 20:57:31 +08:00
Sunli 40549303d4 Implements `ScalarType` for `serde_json::Value`. 2021-04-01 16:54:54 +08:00
Sunli 453f996a76 Update CHANGELOG.md 2021-04-01 15:53:23 +08:00
Sunli 37cacf64dc Add `name` and `visible` attributes for `Newtype` macro for define a new scalar. #437 2021-03-31 19:28:19 +08:00
Sunli 662454c103 Remove `SchemaBuilder::override_name` method. #437 2021-03-31 16:54:57 +08:00
Sunli e899885aa8 Add `Request::disable_introspection` method. #456 2021-03-30 11:59:57 +08:00
Sunli 191660f93d Update CHANGELOG.md 2021-03-26 12:06:13 +08:00
Sunli 06e82383cf Update CHANGELOG.md 2021-03-25 09:10:49 +08:00
Sunli 1ca99b5f5b Update CHANGELOG.md 2021-03-24 19:27:19 +08:00
Sunli 0cd271917b Update CHANGELOG.md 2021-03-22 13:31:38 +08:00
Sunli 54a1979c34 Remove `TracingConfig`
Now Request span always takes the current span as the parent, so this option is no longer needed.
2021-03-22 12:01:49 +08:00
Sunli 1c32a8afcb Now all features are not activated by default. 2021-03-22 10:39:17 +08:00
Sunli 7fb02d587e Add `extension::OpenTelemetry`. 2021-03-22 09:36:14 +08:00
Sunli 6e2fe32be0 Add `SchemaBuilder::enable_subscription_in_federation` method. #449 2021-03-20 17:22:18 +08:00
Sunli 62391d5b21 Update CHANGELOG.md 2021-03-20 10:35:39 +08:00
Sunli d652fdf0b8 Update CHANGELOG.md 2021-03-18 10:21:57 +08:00
Sunli 4c34494e52 Fix the problem that the validation does not work on some inline fragments. 2021-03-14 10:15:52 +08:00
Sunli d37297bb06 Add `DataLoader::loader` method. #441 2021-03-12 15:41:10 +08:00
Sunli 78278af5d7 Update CHANGELOG.md 2021-03-10 09:24:34 +08:00
Sunli 851aeb6435 Update CHANGELOG.md 2021-03-09 18:25:39 +08:00
Sunli 272fea205d Add `SchemaBuilder::override_name` method. #437 2021-03-09 18:07:18 +08:00
Sunli f6c0c33885 Add `extends` attribute for derive macros Subscription and MergedSubscription. 2021-03-09 15:12:14 +08:00
Sunli 197b3ae0a9 Export subscription type to Federation SDL. 2021-03-09 14:54:54 +08:00
Sunli d0fe7fc23b Remove unnecessary Box from WebSocket messages. 2021-03-09 12:07:12 +08:00
Sunli 007b4e74db Execute `_entity` requests in parallel. #431 2021-03-07 16:37:34 +08:00
Sunli d723717e4b Add descriptions for the exported Federation SDL. 2021-03-06 08:38:19 +08:00
Sunli 028d4723df Update changelog 2021-02-28 09:42:13 +08:00
Sunli 4f2ea5ed50 Moved `Variables` from `async_graphql::context::Variables` to
`async_graphql::Variables`.
2021-02-28 09:37:42 +08:00
Sunli 4ebe0dd4cd Allow the `deprecation` attribute to have no reason. 2021-02-27 11:59:58 +08:00
Sunli 035f6d0a51 Fix the problem that the borrowing lifetime returned by the `Context::data` function is too small. 2021-02-23 23:05:08 +08:00
Sunli 98afa41d30 Update CHANGELOG.md 2021-02-23 12:53:25 +08:00
Sunli 028ad5d54c Update CHANGELOG.md 2021-02-22 09:54:26 +08:00
Sunli 5c66a9cdda Add support for Federation nested keys. 2021-02-21 23:06:26 +08:00
Sunli 128a633ddf Fixed the error that the directive locations `FIELD_DEFINITION` and `ENUM_VALUE` cannot be parsed. 2021-02-15 09:25:54 +08:00
Sunli 361d8d049f Fixed getting "custom attribute panicked" message when using `[#Object]` helper. #409 2021-02-13 09:09:29 +08:00
Sunli a67ed25e0c Update CHANGELOG.md 2021-02-06 13:19:22 +08:00
Sunli 2d7627cd39 Fixed GraphQL over WebSocket Protocol does not support ConnectionError events. #406 2021-02-06 11:02:41 +08:00