Zuplo logo

String interpolated environment variables

Changelog entry for String interpolated environment variables

String interpolated environment variables

When using environment variables in with string interpolation in routes.json or your OpenAPI file, i.e. "option": "my-$env(ENV_VAR)-value" undefined environment variables would result in the string "undefined" (Javascript's result of ${undefined}). Instead undefined variables will now result in an empty string.