fix(ci): correct workflow unit test (#780)

This commit is contained in:
lvxinyu-1117
2025-08-15 20:30:13 +08:00
committed by GitHub
parent ee03b41ad5
commit a9b87c188b
4 changed files with 2806 additions and 2771 deletions

View File

@@ -84,7 +84,11 @@ type Entry struct {
outputTypes map[string]*vo.TypeInfo
}
func (e *Entry) Invoke(_ context.Context, in map[string]any) (out map[string]any, err error) {
func (e *Entry) Invoke(_ context.Context, input map[string]any) (out map[string]any, err error) {
in := make(map[string]any, len(input))
for k, v := range input {
in[k] = v
}
for k, v := range e.defaultValues {
if val, ok := in[k]; ok {
tInfo := e.outputTypes[k]