2021-02-06 03:02:41 +00:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog ](https://keepachangelog.com/en/1.0.0/ ),
2021-04-04 04:05:54 +00:00
and this project adheres to [Semantic Versioning ](https://semver.org/spec/v2.0.0.html ).
2021-11-13 01:29:25 +00:00
## [2.11.3] 2021-11-13
- Implemented CursorType for i32/i64. [#701 ](https://github.com/async-graphql/async-graphql/pull/701 )
- An error is returned when the number fails to parse. [#704 ](https://github.com/async-graphql/async-graphql/issues/704 )
- Fix Federation entity union is empty during schema introspection. [#700 ](https://github.com/async-graphql/async-graphql/issues/700 )
2021-11-11 00:57:23 +00:00
## [2.11.2] 2021-11-11
2021-11-04 01:15:25 +00:00
2021-11-08 00:44:21 +00:00
- Fix the problem that `EmptyMutation` may cause when used in `MergedObject` . [#694 ](https://github.com/async-graphql/async-graphql/issues/694 )
2021-11-08 01:33:20 +00:00
- If a GraphQL name conflict is detected when creating schema, it will cause panic. [#499 ](https://github.com/async-graphql/async-graphql/issues/499 )
2021-11-08 00:44:21 +00:00
## [2.11.1] 2021-11-07
2021-11-04 01:15:25 +00:00
- Add `chrono::Duration` custom scalar. [#689 ](https://github.com/async-graphql/async-graphql/pull/689 )
2021-11-04 01:44:16 +00:00
- Implement `From<Option<Option<T>>>` for `MaybeUndefined<T>` .
2021-11-04 12:47:54 +00:00
- Add `MaybeUndefined::as_opt_ref` , `MaybeUndefined::as_opt_deref` , `MaybeUndefined::map` , `MaybeUndefined::map_value` , `MaybeUndefined::contains` , `MaybeUndefined::contains_value` , and `MaybeUndefined::transpose` methods.
- Made `MaybeUndefined::is_undefined` , `MaybeUndefined::is_null` , `MaybeUndefined::is_value` , `MaybeUndefined::value` and `MaybeUndefined::as_opt_ref` const.
2021-11-07 11:11:17 +00:00
- Add `ResolverError` type. [#671 ](https://github.com/async-graphql/async-graphql/issues/671 )
2021-11-04 06:35:48 +00:00
- [async-graphql-axum] Bump axum from `0.2.5` to `0.3` .
2021-11-05 01:27:20 +00:00
- [async-graphql-poem] Export the HTTP headers in the `Context` .
2021-11-04 01:15:25 +00:00
2021-11-03 08:21:12 +00:00
## [2.11.0] 2021-11-03
2021-11-02 12:34:41 +00:00
- Use Rust `2021` edition.
2021-11-01 07:37:28 +00:00
- Subscription typename - [GraphQL - October 2021] [#681 ](https://github.com/async-graphql/async-graphql/issues/681 )
- Allow directive on variable definition - [GraphQL - October 2021] [#678 ](https://github.com/async-graphql/async-graphql/issues/678 )
- Specified By - [GraphQL - October 2021] [#677 ](https://github.com/async-graphql/async-graphql/issues/677 )
- Add `specified_by_url` for `Tz` , `DateTime<Tz>` , `Url` , `Uuid` and `Upload` scalars.
2021-11-03 08:20:41 +00:00
- Number value literal lookahead restrictions - [GraphQL - October 2021] [#685 ](https://github.com/async-graphql/async-graphql/issues/685 )
2021-11-02 12:34:41 +00:00
2021-10-27 12:08:12 +00:00
## [2.10.8] 2021-10-26
- [async-graphql-poem] Bump poem to `1.0.13` .
2021-10-26 12:45:34 +00:00
## [2.10.6] 2021-10-26
2021-10-26 10:57:39 +00:00
- Add derived for object & simple object & complex object. [#667 ](https://github.com/async-graphql/async-graphql/pull/667 ) [#670 ](https://github.com/async-graphql/async-graphql/pull/670 )
- Respect query object field order. [#612 ](https://github.com/async-graphql/async-graphql/issues/612 )
2021-10-23 11:34:26 +00:00
## [2.10.5] 2021-10-22
- Bump poem from `0.6.6` to `1.0.7` .
2021-10-22 02:38:29 +00:00
## [2.10.4] 2021-10-22
- Implement `Default` for ID #659 .
2021-10-22 02:44:41 +00:00
- Implement `ScalarType` for `bson::Bson` and `bson::Document` . [#661 ](https://github.com/async-graphql/async-graphql/pull/661 )
- Add `CharsMinLength` and `CharsMaxLength` validators. [#656 ](https://github.com/async-graphql/async-graphql/pull/656 )
2021-10-22 02:38:29 +00:00
- Fix the `Subscription` macro to work on Rust 2021. [#665 ](https://github.com/async-graphql/async-graphql/pull/665 )
2021-10-12 09:56:48 +00:00
## [2.10.3] 2021-10-12
- Add `visible` macro argument for union type. [#655 ](https://github.com/async-graphql/async-graphql/pull/655 )
2021-09-29 08:01:42 +00:00
## [2.10.2] 2021-09-29
2021-09-24 13:55:47 +00:00
- Add concrete names support for `Object` macro. [#633 ](https://github.com/async-graphql/async-graphql/issues/633 )
2021-09-29 07:57:15 +00:00
- Add `Lookahead::selection_fields` method. [#643 ](https://github.com/async-graphql/async-graphql/pull/643 )
2021-09-24 13:55:47 +00:00
2021-09-24 02:50:22 +00:00
## [2.10.1] 2021-09-24
- Add `DataLoader::enable_all_cache` and `DataLoader::enable_cache` methods. [#642 ](https://github.com/async-graphql/async-graphql/issues/642 )
- Change the execution order of `chain` and `race` guards. [#614 ](https://github.com/async-graphql/async-graphql/issues/614 )
- Change log level from `error` to `info` . [#518 ](https://github.com/async-graphql/async-graphql/issues/518 )
2021-09-17 02:26:10 +00:00
## [2.10.0] 2021-09-17
2021-09-16 12:22:04 +00:00
- Add support for `graphql-ws` pings. [#635 ](https://github.com/async-graphql/async-graphql/issues/635 )
2021-09-17 00:39:28 +00:00
- Add feature gate `websocket` for async-graphql-tide. [#636 ](https://github.com/async-graphql/async-graphql/issues/636 )
2021-09-17 01:16:22 +00:00
- Implement GraphQL enum to `Value` conversion. [#617 ](https://github.com/async-graphql/async-graphql/issues/617 )
- Implement `ScalarType` for `HashMap` /`BTreeMap` to use `ToString` /`FromStr`. [#585 ](https://github.com/async-graphql/async-graphql/issues/585 )
2021-09-16 12:22:04 +00:00
2021-09-10 03:58:07 +00:00
## [2.9.15] 2021-09-10
- Added Axum error handling. [#629 ](https://github.com/async-graphql/async-graphql/pull/629 )
- Bump bson from `2.0.0-beta.1` to `2.0.0` . [#628 ](https://github.com/async-graphql/async-graphql/pull/628 )
2021-09-03 07:17:19 +00:00
## [2.9.14] 2021-09-03
2021-09-02 12:06:39 +00:00
- Add support for [serde_cbor ](https://crates.io/crates/serde_cbor ). [#619 ](https://github.com/async-graphql/async-graphql/pull/619 )
2021-09-01 01:18:19 +00:00
## [2.9.13] 2021-09-01
- Released [`Axum` ](https://github.com/tokio-rs/axum ) integration. [`async-graphql-axum` ](https://crates.io/crates/async-graphql-axum )
2021-08-24 07:35:29 +00:00
## [2.9.12] 2021-08-24
- Add integration for [`Poem` ](https://github.com/poem-web/poem ).
- Ignore items flagged `@skip` in `SelectionField` and `Lookahead` . [#605 ](https://github.com/async-graphql/async-graphql/pull/605 )
2021-08-22 08:56:15 +00:00
## [2.9.11] 2021-08-22
2021-08-14 02:13:09 +00:00
- Implement `From<MaybeUndefined<T>> for Option<Option<T>>` . [#599 ](https://github.com/async-graphql/async-graphql/issues/599 )
2021-08-19 03:21:23 +00:00
- Add human readable for serializer. [#604 ](https://github.com/async-graphql/async-graphql/pull/604 )
2021-08-14 02:13:09 +00:00
2021-08-05 11:14:43 +00:00
## [2.9.10] 2021-08-05
2021-07-23 09:20:52 +00:00
- Change `GraphQLPlaygroundConfig::with_setting` to accept `impl Into<Value>` [#583 ](https://github.com/async-graphql/async-graphql/issues/583 )
2021-08-05 11:14:43 +00:00
- Remove unnecessary unwrap in multipart handler [#594 ](https://github.com/async-graphql/async-graphql/pull/594 )
2021-07-23 09:20:52 +00:00
2021-07-20 07:18:48 +00:00
## [2.9.9] 2021-07-20
2021-07-14 03:52:24 +00:00
- Add binary types to `ConstValue` and `Value` . [#569 ](https://github.com/async-graphql/async-graphql/issues/569 )
2021-07-18 13:42:39 +00:00
- Implemented `OutputType` for [Bytes ](https://docs.rs/bytes/1.0.1/bytes/struct.Bytes.html ).
2021-07-15 04:05:31 +00:00
- Changed Lookahead to support multiple fields. [#574 ](https://github.com/async-graphql/async-graphql/issues/574 )
- Implement `TryFrom<&[SelectionField<'a>]>` for `Lookahead<'a>` . [#575 ](https://github.com/async-graphql/async-graphql/issues/575 )
2021-07-15 01:47:59 +00:00
- Attach custom HTTP headers to the response when an error occurs. [#572 ](https://github.com/async-graphql/async-graphql/issues/572 )
2021-07-18 13:42:39 +00:00
- Allow field visible to support paths. [#578 ](https://github.com/async-graphql/async-graphql/pull/578 )
2021-07-20 07:16:34 +00:00
- Add support for the `list` operator to the input value validator. [#579 ](https://github.com/async-graphql/async-graphql/issues/579 )
2021-07-15 01:47:59 +00:00
2021-07-12 03:15:46 +00:00
## [2.9.8] 2021-07-12
2021-07-09 11:57:30 +00:00
- Add Extensions in Error of `InputValueValidator` . [#564 ](https://github.com/async-graphql/async-graphql/pull/564 )
2021-07-12 03:15:46 +00:00
- Fix SDL print is not stable. [#547 ](https://github.com/async-graphql/async-graphql/issues/547 )
2021-07-04 06:14:41 +00:00
## [2.9.7] 2021-07-04
- Add support for generic `ComplexObject` . [#562 ](https://github.com/async-graphql/async-graphql/pull/562 )
2021-07-02 02:56:51 +00:00
## [2.9.6] 2021-07-02
- Implement `From<SelectionField>` for `Lookahead` . [#557 ](https://github.com/async-graphql/async-graphql/issues/557 )
- Add Decimal scalar (from `rust_decimal` crate) [#559 ](https://github.com/async-graphql/async-graphql/pull/559 )
2021-06-29 01:32:10 +00:00
## [2.9.5] 2021-06-29
- Allows to get the actual field name and alias in `ResolveInfo` . [#551 ](https://github.com/async-graphql/async-graphql/issues/551 )
2021-06-21 01:38:18 +00:00
## [2.9.4] 2021-06-21
- Fix the bug that `MergedObject` may cause panic. [#539 ](https://github.com/async-graphql/async-graphql/issues/539#issuecomment-862209442 )
2021-06-17 02:55:30 +00:00
## [2.9.3] 2021-06-17
2021-05-19 02:47:15 +00:00
- Bump upstream crate `bson` from `v1.2.0` to `v2.0.0-beta.1` . [#516 ](https://github.com/async-graphql/async-graphql/pull/516 )
2021-06-16 09:21:45 +00:00
- Add `serial` attribute for `Object` , `SimpleObject` and `MergedObject` macros. [#539 ](https://github.com/async-graphql/async-graphql/issues/539 )
2021-06-17 02:39:27 +00:00
- Remove the `static` constraint of the `receive_body` and `receive_batch_body` functions. [#544 ](https://github.com/async-graphql/async-graphql/issues/544 )
- Implement `InputType` and `OutputType` for `[T; N]` array.
2021-06-16 07:09:44 +00:00
2021-06-10 02:18:30 +00:00
## [2.9.2] 2021-06-10
2021-06-08 11:42:53 +00:00
- Allow field guards to support paths. [#536 ](https://github.com/async-graphql/async-graphql/issues/536 )
2021-06-10 02:18:30 +00:00
- Add the `operation_name` to `Extension::execute` method. [#538 ](https://github.com/async-graphql/async-graphql/issues/538 )
2021-06-08 11:42:53 +00:00
2021-06-08 02:26:17 +00:00
## [2.9.1] 2021-06-08
2021-06-08 02:26:00 +00:00
- Rework error propagation. [#531 ](https://github.com/async-graphql/async-graphql/issues/531 )
2021-06-08 02:26:17 +00:00
## [2.9.0] 2021-06-07
2021-06-07 06:22:45 +00:00
- Add support for returning multiple resolver errors. [#531 ](https://github.com/async-graphql/async-graphql/issues/531 )
2021-06-07 06:38:32 +00:00
- Bump upstream crate `multer` from `v1.2.2` to `v2.0.0` .
- Aligned NaiveDateTime formatting with DateTime. [#535 ](https://github.com/async-graphql/async-graphql/pull/535 )
2021-06-07 06:22:45 +00:00
2021-06-01 09:13:21 +00:00
## [2.8.6] 2021-06-01
2021-05-18 02:03:26 +00:00
2021-06-01 09:13:21 +00:00
- Allow the ability to set GraphQL Playground settings. [#508 ](https://github.com/async-graphql/async-graphql/pull/508 )
- WebSocket is now generic in graphql_subscription_upgrade functions. [#530 ](https://github.com/async-graphql/async-graphql/pull/530 )
- Removed `Copy` trait from initializer in `graphql_subscription_with_data` . [#530 ](https://github.com/async-graphql/async-graphql/pull/530 )
2021-05-18 02:03:26 +00:00
2021-05-11 11:17:16 +00:00
## [2.8.5] 2021-05-11
2021-05-06 08:45:43 +00:00
2021-05-08 06:06:46 +00:00
- If `InputObject` contains an unnamed field, the correct error message will be given. [#498 ](https://github.com/async-graphql/async-graphql/issues/498 )
2021-05-08 06:11:56 +00:00
- Added `Websocket::with_message_stream` for client message customization. [#501 ](https://github.com/async-graphql/async-graphql/pull/501 )
2021-05-06 08:45:43 +00:00
2021-05-11 07:30:04 +00:00
- Added the `Secret` type using [secrecy ](https://crates.io/crates/secrecy ) crate.
2021-04-23 02:25:00 +00:00
## [2.8.4] 2021-04-23
- Fix the problem that the `ComplexObject` macro cannot work due to the `secret` attribute.
2021-04-12 07:56:25 +00:00
## [2.8.3] 2021-04-12
- Fixed an error in exporting Federation SDL.
2021-04-09 08:56:42 +00:00
## [2.8.2] 2021-04-09
- Now when the resolver returns the `Result` type, `E` can be all types that implement `async_graphql::Into<Error>` .
## [2.8.1] 2021-04-08
2021-04-07 08:23:28 +00:00
2021-04-08 03:33:09 +00:00
### Fixed
- Fix stack overflow during Registry::create_type for recursive type while running Schema::build. [#474 ](https://github.com/async-graphql/async-graphql/issues/474 )
### Added
2021-04-07 08:23:28 +00:00
- Add `secret` attribute for arguments, they will not appear in the log.
```rust
#[Object]
impl Query {
async fn login(& self, username:String, #[graphql(secret)] password: String) -> i32 {
todo!()
}
}
```
2021-04-05 05:25:00 +00:00
## [2.8.0] 2021-04-05
2021-04-04 04:05:54 +00:00
### Changed
2021-04-05 04:21:02 +00:00
- Rework `Extension` , now fully supports asynchronous, better to use than before, and can achieve more features, it contains a lot of changes. _(if you don't have a custom extension, it will not cause the existing code to fail to compile)_
2021-04-05 05:24:39 +00:00
### Added
2021-04-05 05:20:02 +00:00
- 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-03-31 08:54:57 +00:00
2021-04-02 07:55:39 +00:00
## [2.7.4] 2021-04-02
- Add the `BuildHasher` generic parameter to `dataloader::HashMapCache` to allow custom hashing algorithms. [#455 ](https://github.com/async-graphql/async-graphql/issues/455 )
2021-04-02 03:20:00 +00:00
## [2.7.3] 2021-04-02
2021-04-01 12:57:31 +00:00
## Added
2021-03-31 08:54:57 +00:00
2021-04-01 07:53:23 +00:00
- Add cache support for DataLoader. [#455 ](https://github.com/async-graphql/async-graphql/issues/455 )
2021-04-01 08:54:54 +00:00
- Implements `ScalarType` for `serde_json::Value` .
2021-04-02 03:04:59 +00:00
- Add `SelectionField::alias` and `SelectionField::arguments` methods.
2021-04-01 07:53:23 +00:00
2021-04-01 12:57:31 +00:00
## Fixed
- Prevent Warp WS Close, Ping, and Pong messages from being parsed as GraphQL [#459 ](https://github.com/async-graphql/async-graphql/pull/459 )
- Fix Schema::sdl() does not include subscription definitions. [#464 ](https://github.com/async-graphql/async-graphql/issues/464 )
2021-04-02 03:20:00 +00:00
## [2.7.2] 2021-04-01
2021-04-01 07:53:23 +00:00
2021-03-31 11:28:19 +00:00
## Removed
2021-03-31 08:54:57 +00:00
- Remove `SchemaBuilder::override_name` method. [#437 ](https://github.com/async-graphql/async-graphql/issues/437 )
2021-03-31 11:28:19 +00:00
## Added
- Add `name` and `visible` attributes for `Newtype` macro for define a new scalar. [#437 ](https://github.com/async-graphql/async-graphql/issues/437 )
- `NewType` macro now also implements `From<InnerType>` and `Into<InnerType>` .
2021-02-06 03:02:41 +00:00
2021-04-02 03:20:00 +00:00
## [2.7.1] 2021-03-31
2021-03-30 03:59:57 +00:00
- Add `Request::disable_introspection` method. [#456 ](https://github.com/async-graphql/async-graphql/issues/456 )
2021-04-02 03:20:00 +00:00
## [2.7.0] 2021-03-27
2021-03-26 04:06:13 +00:00
## Fixed
2021-03-25 01:09:53 +00:00
- Fix chrono-tz integration. [#452 ](https://github.com/async-graphql/async-graphql/pull/452 )
2021-03-26 04:06:13 +00:00
## Changed
- Rework Extension & TracingExtension & OpenTelemetryExtension
2021-03-24 11:27:19 +00:00
## [2.6.5] - 2021-03-24
- In websocket, if the client sends `start` before `connection_init` , the connection will be immediately disconnected and return `1011` error. [#451 ](https://github.com/async-graphql/async-graphql/issues/451 )
2021-03-22 05:31:38 +00:00
## [2.6.4] - 2021-03-22
- Fix docs.
2021-03-22 02:39:17 +00:00
## [2.6.3] - 2021-03-22
2021-03-20 11:42:00 +00:00
2021-03-22 02:39:17 +00:00
### Added
- Add `extension::OpenTelemetry` .
2021-03-22 03:37:57 +00:00
### Removed
2021-03-22 02:39:17 +00:00
2021-03-22 03:37:57 +00:00
- Remove `TracingConfig` , now Request span always takes the current span as the parent, so this option is no longer needed.
2021-03-22 02:39:17 +00:00
- Remove `multipart` feature.
2021-03-20 11:42:00 +00:00
2021-03-22 03:37:57 +00:00
### Changed
- Now all features are not activated by default.
2021-03-20 09:22:18 +00:00
## [2.6.2] - 2021-03-20
- Add `SchemaBuilder::enable_subscription_in_federation` method. [#449 ](https://github.com/async-graphql/async-graphql/issues/449 )
2021-03-20 02:35:39 +00:00
## [2.6.1] - 2021-03-19
2021-03-22 05:31:38 +00:00
- Fix tracing extension doesn't work with async code. [#448 ](https://github.com/async-graphql/async-graphql/issues/448 )
2021-03-20 02:35:39 +00:00
2021-03-18 02:21:57 +00:00
## [2.6.0] - 2021-03-18
- Add [ComplexObject ](https://docs.rs/async-graphql/2.6.0/async_graphql/attr.ComplexObject.html ) macro.
2021-03-14 02:10:15 +00:00
## [2.5.14] - 2021-03-14
2021-03-12 07:41:10 +00:00
- Add `DataLoader::loader` method. [#441 ](https://github.com/async-graphql/async-graphql/issues/441 )
2021-03-14 02:10:15 +00:00
- Fix the validation does not work on some inline fragments.
2021-03-12 07:41:10 +00:00
2021-03-10 01:24:34 +00:00
## [2.5.13] - 2021-03-09
- Support generics in Subscription types. [#438 ](https://github.com/async-graphql/async-graphql/pull/438 )
2021-03-09 10:25:39 +00:00
## [2.5.12] - 2021-03-09
2021-03-09 04:07:12 +00:00
- Remove unnecessary Box from WebSocket messages.
2021-03-09 06:54:54 +00:00
- Export subscription type to Federation SDL. (for [GraphGate ](https://github.com/async-graphql/graphgate ) 😁)
2021-03-09 07:12:14 +00:00
- Add `extends` attribute for derive macros Subscription and MergedSubscription.
2021-03-09 10:07:18 +00:00
- Add `SchemaBuilder::override_name` method. [#437 ](https://github.com/async-graphql/async-graphql/issues/437 )
2021-03-09 04:07:12 +00:00
2021-03-07 08:37:34 +00:00
## [2.5.11] - 2021-03-07
- Execute `_entity` requests in parallel. [#431 ](https://github.com/async-graphql/async-graphql/issues/431 )
2021-03-06 00:38:19 +00:00
## [2.5.10] - 2021-03-06
- Add descriptions for the exported Federation SDL.
2021-02-28 01:42:13 +00:00
## [2.5.9] - 2021-02-28
2021-02-27 13:52:43 +00:00
### Changed
- Moved `Variables` from `async_graphql::context::Variables` to `async_graphql::Variables` .
2021-02-27 03:59:58 +00:00
## [2.5.8] - 2021-02-27
2021-02-27 13:52:43 +00:00
### Added
2021-02-27 03:59:58 +00:00
- Allow the `deprecation` attribute to have no reason.
```rust
#[derive(SimpleObject)]
struct MyObject {
#[graphql(deprecation)]
a: i32,
#[graphql(deprecation = true)]
b: i32,
#[graphql(deprecation = false)]
c: i32,
#[graphql(deprecation = "reason")]
d: i32,
}
```
2021-02-23 15:05:08 +00:00
## [2.5.7] - 2021-02-23
2021-02-27 13:52:43 +00:00
### Fixed
2021-02-23 15:05:08 +00:00
- Fix the problem that the borrowing lifetime returned by the `Context::data` function is too small.
2021-02-23 04:53:25 +00:00
## [2.5.6] - 2021-02-23
2021-02-27 13:52:43 +00:00
### Changed
2021-02-23 04:53:25 +00:00
- When introspection is disabled, introspection related types are no longer registered.
2021-02-22 01:54:26 +00:00
## [2.5.5] - 2021-02-22
2021-02-21 13:29:03 +00:00
### Added
2021-02-22 01:54:26 +00:00
- Add support for Federation [nested keys ](https://www.apollographql.com/docs/federation/entities/#defining-a-compound-primary-key ).
2021-02-21 13:29:03 +00:00
2021-02-15 01:25:54 +00:00
## [2.5.4] - 2021-02-15
### Fixed
- Fixed the error that the directive locations `FIELD_DEFINITION` and `ENUM_VALUE` cannot be parsed.
2021-02-13 01:09:29 +00:00
## [2.5.3] - 2021-02-13
### Fixed
- Fixed [#409 ](https://github.com/async-graphql/async-graphql/issues/409 )
2021-02-06 03:02:41 +00:00
## [2.5.2] - 2021-02-06
### Added
2021-02-06 05:19:22 +00:00
- Add subscription support for tide with [tide-websockets ](https://crates.io/crates/tide-websockets ).
2021-02-06 03:02:41 +00:00
### Fixed
- Fixed the bug that can accept subscription requests during the initialization of WebSocket.
- Fixed GraphQL over WebSocket Protocol does not support ConnectionError events. [#406 ](https://github.com/async-graphql/async-graphql/issues/406 )