Export subscription type to Federation SDL.
This commit is contained in:
parent
d0fe7fc23b
commit
197b3ae0a9
|
@ -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
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue