We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent def4abd commit c2ada99Copy full SHA for c2ada99
template/manager.go
@@ -45,7 +45,7 @@ func extendTemplate(ctx context.Context, rawTemplates []option.Template, root, c
45
if err != nil {
46
return option.Template{}, E.Cause(err, "initialize template[", current.Name, "]: merge extended template: ", current.Extend)
47
}
48
- newTemplate, err := json.UnmarshalExtended[option.Template](newRawTemplate)
+ newTemplate, err := json.UnmarshalExtendedContext[option.Template](ctx, newRawTemplate)
49
50
return option.Template{}, E.Cause(err, "initialize template[", current.Name, "]: unmarshal extended template: ", current.Extend)
51
0 commit comments