Export subscription type to Federation SDL.

This commit is contained in:
Sunli 2021-03-09 14:54:54 +08:00
parent d0fe7fc23b
commit 197b3ae0a9
2 changed files with 1 additions and 6 deletions

View File

@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- Remove unnecessary Box from WebSocket messages.
- Export subscription type to Federation SDL. (for [GraphGate](https://github.com/async-graphql/graphgate) 😁)
## [2.5.11] - 2021-03-07

View File

@ -116,12 +116,6 @@ impl Registry {
return;
}
if let Some(subscription_type) = &self.subscription_type {
if name == subscription_type && federation {
return;
}
}
if description.is_some() {
writeln!(sdl, "\"\"\"\n{}\n\"\"\"", description.unwrap()).ok();
}