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 authored and aszs committed Feb 8, 2024
1 parent 869a8d5 commit 5d2bbcc
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 5d2bbcc

Please sign in to comment.