I'm using global context variables to store an authorization token, but I've noticed that the value doesn't appear in the context sidebar unless I assign it using a Change node.
In the past I've simply assigned them as such:
global.auth_token = msg.payload.auth_token;
But the documentation seems to require the following:
It seemed circuitous considering it accomplishes the same thing as variable assignment but with more code, so I planned on just sticking with variable assignment, but that doesn't seem to work any more.
What happened to simply assigning context variables? What's the benefit of using set()/get()?