Update variable initialization rule docs

This commit is contained in:
Guillaume Gomez 2025-04-12 21:04:28 +02:00 committed by René Kijewski
parent ddfdd20855
commit 4a17df55b5

View File

@ -74,6 +74,7 @@ to prevent changing ownership. The rules are as follows:
* If the value is a variable defined in the templates, it WILL NOT BE put behind a reference.
* If the value has a filter applied to it (`x|capitalize`), it WILL NOT BE put behind a reference.
* If the value is a field (`x.y`), it WILL BE put behind a reference.
* If the expression ends with a question mark (like `x?`), it WILL NOT BE put behind a reference.
## Filters