The composer API's setVariable method did not allow you to set a variable to nil, as I just found out while debugging my app. While I can probably work around it by setting to false instead, I have to be careful that other code in my app doesn't behave differently when given a boolean here, since I truly want to clear the variable completely in my use case. If this is considered a "feature" and you don't want to move forward with this fix, maybe we can get the docs updated with a new "gotcha?"
The composer API's setVariable method did not allow you to set a variable to nil, as I just found out while debugging my app. While I can probably work around it by setting to false instead, I have to be careful that other code in my app doesn't behave differently when given a boolean here, since I truly want to clear the variable completely in my use case. If this is considered a "feature" and you don't want to move forward with this fix, maybe we can get the docs updated with a new "gotcha?"
Signed-off-by: Mark Sandell mdsandell@gmail.com