[Turbo] Cannot access private property App\Entity\...
seb-jean opened this issue · comments
seb-jean commented
Hello,
I wanted to create an example for #1867 but I encountered another error.
I then created this issue to see how to correct the error I encounter: when I modify an entity, I get the following error: Cannot access private property App\Entity\Book::$id
Here is the GitHub repository which reproduces the error: https://github.com/seb-jean/symfony-ux-issue-1867
It looks like this issue:
symfony/symfony#49367
You would then have to use getters instead of properties.
PR: #1874