pulumi/changelog/pending
Julien 7cc9c40eba
Fix merging InvokeOptions.version (#17750)
`InvokeOptions.version` was defaulting to the empty string `""` and not
`None`, see
1a97d95583/sdk/python/lib/pulumi/invoke.py (L57)

While working on https://github.com/pulumi/pulumi/issues/17749 I noticed
that the merge function was not expecting the empty string, and clearing
out the version on merge when it probably shouldn't.

Since this is typed as `Optional[str]`, code that uses this value
already has to deal with `None`, and we can update it to default to
`None` instead.

---------

Co-authored-by: Thomas Gummerer <t.gummerer@gmail.com>
2024-11-15 13:22:22 +00:00
..
20241112--sdk-python--fix-merging-invokeoptions-version.yaml Fix merging InvokeOptions.version (#17750) 2024-11-15 13:22:22 +00:00