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
Description can be seen here: https://elixirforum.com/t/temple-html-dsl-for-elixir-and-phoenix/23940/29?u=mhanberg
this should reject the inner_block key and not render it
inner_block
assigns = [class: "foo", inner_block: fn x -> "could be any type tho" end] div assigns do # ... end
<div class="foo"> <!-- ... --> </div>
Currently, this will attempt to render it, but a function does not implement the phoenix Safe protocol, so it fails.
We can also potentially emit a warning if you try to pass types that cannot be rendered, so that the user is aware of why it's not "working".
The text was updated successfully, but these errors were encountered:
This actually works as expected and is correct.
Sorry, something went wrong.
No branches or pull requests
Description can be seen here: https://elixirforum.com/t/temple-html-dsl-for-elixir-and-phoenix/23940/29?u=mhanberg
this should reject the
inner_block
key and not render itCurrently, this will attempt to render it, but a function does not implement the phoenix Safe protocol, so it fails.
We can also potentially emit a warning if you try to pass types that cannot be rendered, so that the user is aware of why it's not "working".
The text was updated successfully, but these errors were encountered: