From b3b31eb3676d0dcaf0ad973cb14f966f1607befe Mon Sep 17 00:00:00 2001 From: Dominik Riemer Date: Mon, 23 Oct 2023 14:16:26 +0200 Subject: [PATCH] Add metadata object to properties --- .../schema-editor/event-schema/event-schema.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema/event-schema.component.ts b/ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema/event-schema.component.ts index 8aa798bc35..2a029846f8 100644 --- a/ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema/event-schema.component.ts +++ b/ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema/event-schema.component.ts @@ -197,6 +197,7 @@ export class EventSchemaComponent implements OnChanges { nested.eventProperties = []; nested.domainProperties = []; nested.runtimeName = 'nested'; + nested.additionalMetadata = {}; if (!eventProperty) { this.targetSchema.eventProperties.push(nested); } else { @@ -251,6 +252,7 @@ export class EventSchemaComponent implements OnChanges { eventProperty.domainProperties = ['http://schema.org/DateTime']; eventProperty.propertyScope = 'HEADER_PROPERTY'; eventProperty.runtimeType = 'http://www.w3.org/2001/XMLSchema#long'; + eventProperty.additionalMetadata = {}; this.targetSchema.eventProperties.push(eventProperty); this.refreshTree();