refactor: join static and dynamic configs to reuse pollQueries()
This commit is contained in:
parent
df2213566e
commit
d20f4968f6
3 changed files with 104 additions and 93 deletions
|
|
@ -140,8 +140,12 @@ type DynamicConfig {
|
|||
restartServices: Boolean!
|
||||
}
|
||||
|
||||
type Configs {
|
||||
static: StaticConfig
|
||||
dynamic: DynamicConfig!
|
||||
}
|
||||
|
||||
type Query {
|
||||
staticConfig(currentConfigVersion: Int): StaticConfig
|
||||
dynamicConfig: DynamicConfig!
|
||||
configs(currentConfigVersion: Int): Configs!
|
||||
}
|
||||
`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue