It seems like the environment variables in app.yaml
are rendered in Python-like strings, where booleans like true
become True
and empty variables becomes None
. Anyone have ideas on how to make it play nice with javascript without doing explicit conversion for all my variables?
const MY_ENV_VAR = (process.env.MY_ENV_VAR === 'None') ? null : process.env.MY_ENV_VAR;
Yes, I can write some function to do it. Wondering if anyone has a clever solution.