This Pull Request addresses an issue (#645) in the playground where default parameter values were being overridden by falsy values such as an empty string ('') or null. Previously, when a parameter had a default value defined, if a falsy value was passed, the default value was incorrectly discarded. The fix implemented in this PR treats these inputs as optional, recognizing that they already have a defined value. This change ensures that default values are used when a falsy value is provided, maintaining the intended functionality of the parameters.
This Pull Request addresses an issue (#645) in the playground where default parameter values were being overridden by falsy values such as an empty string ('') or null. Previously, when a parameter had a default value defined, if a falsy value was passed, the default value was incorrectly discarded. The fix implemented in this PR treats these inputs as optional, recognizing that they already have a defined value. This change ensures that default values are used when a falsy value is provided, maintaining the intended functionality of the parameters.