genkit icon indicating copy to clipboard operation
genkit copied to clipboard

[Go] Add option to `WithInput()` to not replace defaults with zero values

Open apascal07 opened this issue 8 months ago • 0 comments

Describe the bug Either a WithPartialInput() or an arg to WithInput() that allows passing a subset of field values and still allowing defaults. Right now, because of how Go zero values are defined, everything gets overwritten.

apascal07 avatar Apr 07 '25 18:04 apascal07