chore: Enhance schema with DeviceConfig tags resolver and update IntelliJ workspace adjustments
This commit is contained in:
parent
0c1f585909
commit
c1035cd614
2 changed files with 16 additions and 9 deletions
|
|
@ -52,6 +52,7 @@ export async function schema_loader(): Promise<GraphQLSchema> {
|
|||
let genericResolvers: Record<string, any> = {
|
||||
Device: createZabbixHierarchicalDeviceFieldResolver("Device", originalSchema,additionalMappings ),
|
||||
GenericDevice: createZabbixHierarchicalDeviceFieldResolver("GenericDevice", originalSchema, additionalMappings),
|
||||
DeviceConfig: createZabbixHierarchicalDeviceTagsResolver("DeviceConfig", originalSchema),
|
||||
}
|
||||
if (process.env.ADDITIONAL_RESOLVERS) {
|
||||
for (const resolver of process.env.ADDITIONAL_RESOLVERS.split(",")){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue