We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For {foo, undefined} overlay variable relx produces {foo, } causing the release fail to start due to syntax error. Is there a workaround for this?
{foo, undefined}
{foo, }
The text was updated successfully, but these errors were encountered:
Are you saying that {foo, undefined} in the variables will replace {{foo}} with nothing instead of the atom undefined?
{{foo}}
undefined
Sorry, something went wrong.
Ah, so I tested this in erlydtl:
1> erlydtl:compile(<<"<html>{{ foo }}</html>">>, my_module_name). {ok,my_module_name} 2> my_module_name:render([{foo, undefined}]). {ok,[<<"<html>">>,[],<<"</html>">>]}
So that is a part of erlydtl that relx uses for templates.
Let me know if I can close this issue. It would need to be taken up with erlydtl.
No branches or pull requests
For
{foo, undefined}
overlay variable relx produces{foo, }
causing the release fail to start due to syntax error. Is there a workaround for this?The text was updated successfully, but these errors were encountered: