tera icon indicating copy to clipboard operation
tera copied to clipboard

Add Context::get_mut

Open Azorlogh opened this issue 1 year ago • 0 comments

Adds Context::get_mut to retrieve a mutable reference to one of the values.

For my use case I need to run many templates in a loop and edit a value in the context every iteration. This lets me edit the value in place which is much cheaper than cloning

Azorlogh avatar Nov 21 '24 16:11 Azorlogh