symfony / ux

Symfony UX initiative: a JavaScript ecosystem for Symfony

Home Page:https://ux.symfony.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Turbo] Cannot access private property App\Entity\...

seb-jean opened this issue · comments

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

Capture d'écran 2024-05-29 101728