Handle rebuilds when resources passed to transform.Unmarshal etc. changes

Fixes #12065
This commit is contained in:
Bjørn Erik Pedersen
2024-02-19 11:32:28 +01:00
parent 5ada27bf65
commit 5dbc29dc6c
4 changed files with 57 additions and 1 deletions

View File

@@ -64,6 +64,9 @@ func (e *execHelper) GetMethod(ctx context.Context, tmpl Preparer, receiver refl
return m, reflect.ValueOf("v2")
}
func (e *execHelper) OnCalled(ctx context.Context, tmpl Preparer, name string, args []reflect.Value, returnValue reflect.Value) {
}
func TestTemplateExecutor(t *testing.T) {
c := qt.New(t)