Closed ysak-y closed 2 years ago
LGTM. Any issues @Shreyas-vgr?
LGTM. Any issues @Shreyas-vgr?
Changes LGTM, but we autogenerate models from swagger specifications, hence we cannot merge this PR. We will incorporate this change and make a release soon!
Thanks for the PR @ysak-y
What
Add boolean type to
value
property of SetValue.Why
SetValue should set not only string type value but also boolean, number type value. For example, when I want to set the
TouchWrapper
'sdisbaled
to true, I can't. Because "false" string is evaluated as true in APL runtime.https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-data-binding-syntax.html#truthy-and-coercion
Following document, TouchWrapper would be disabled even though I set disabled status to "false".
So I want to deal boolean value in SetValue command.
How
Add
boolean
type to thevalue
property of SetValueCommand