Pass reference bindings to Notarius

This commit is contained in:
2026-08-29 15:16:06 +00:00
parent a2409a1fd1
commit 51e0e8c5d0
5 changed files with 152 additions and 19 deletions

View File

@@ -14,7 +14,9 @@ func (f *FakeRunner) Run(ctx context.Context, req RunRequest) (RunResult, error)
if err := ctx.Err(); err != nil {
return RunResult{}, err
}
f.Requests = append(f.Requests, req)
copyRequest := req
copyRequest.References = append([]ReferenceBinding(nil), req.References...)
f.Requests = append(f.Requests, copyRequest)
if f.Err != nil {
return RunResult{}, f.Err
}