doctrine-extensions / DoctrineExtensions

Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable
MIT License
4.01k stars 1.26k forks source link

[Translatable] Camelcase properties not working #2442

Open timrasche opened 2 years ago

timrasche commented 2 years ago

if you have an entity property e.g. $nameShort in database as "name_short" (and also the personal translation data with "field property" in snake case) the serialized response shows "null". If you change the field name manually in database, it works...

Is there any option to prevent this behaviour? All examples shows only single words e.g. "name" or "content" but never property names like "titleExtra" or "nameShort".

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

timrasche commented 1 year ago

Push

timrasche commented 2 months ago

I cant believe that no one has these problems... its 2024...