Skip to content

Commit

Permalink
Add metadata object to properties
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikriemer committed Oct 23, 2023
1 parent 6a4f1b1 commit b3b31eb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit b3b31eb

Please sign in to comment.