Hi, We are using Phalcon Partials with variables recursively. Since the Phalcon v3 update, we have the problem, that the variables of the parent partial is overwritten by the child partial. In v2 everything worked fine. As an example for our usecase:
initialization:
{{ partial("partials/category", ['category': category]) }}
partials/category.volt
{{ category.getId() }} //everything is fine
{{ partial("partials/category", ['category': category.getChildCategory()]) }}
{{ category.getId() }} //displays category id of child
Do you have any idea how we could prevent this? Thanks a lot