chore: Enhance schema with DeviceConfig tags resolver and update IntelliJ workspace adjustments

This commit is contained in:
Andreas Hilbig 2026-01-16 20:37:49 +01:00
parent 0c1f585909
commit c1035cd614
2 changed files with 16 additions and 9 deletions

View file

@ -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(",")){