Skip to content

Commit

Permalink
Do not propagate type metadata into instantiated templates
Browse files Browse the repository at this point in the history
  • Loading branch information
AjBreidenbach committed Feb 7, 2024
1 parent ad53409 commit e44ebdb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,8 @@ const actions = {
target.directives = targetType.directives
target._sourceinfo = targetType._sourceinfo

target.metadata = {...targetType.metadata, created_by: 'unfurl-gui'}
// do not pass type metadata into created templates
target.metadata = {created_by: 'unfurl-gui'}

const directAncestor = state.resourceTemplates[dependentName]

Expand Down

0 comments on commit e44ebdb

Please sign in to comment.