Skip to content
#

rust-library

Here are 866 public repositories matching this topic...

Ten0
Ten0 commented Jan 7, 2020

When rendering with an invalid template that refers to an Object instead of strings/integers/bools/arrays, the rendering silent fails by rendering "[object]", due to:
https://github.com/Keats/tera/blob/b91a985951fccf6896c7192ea7c78ba64608bb62/src/context.rs#L119
(by the way, this could be Cow::Borrowed)

This is does not match the rust philosophy of being explicit and quickly failing so

Improve this page

Add a description, image, and links to the rust-library topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the rust-library topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.