I'm trying to use {{ modelData()["user"].name() }}
to acces a User
instance's name, but Volt gets an unexpected ->
in the template. The compiled template shows me that the result is (POST::getModelData()["user"])->name()
, so... is there a way to avoid the parenthesis?