You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use indexBy="category", it does not work. Why are the object property names used for referencing in most of the mapping, but for indexBy you have to use the db field name? It is nowhere mentioned in the docs.
I didnt test this with non-association properties as indexBy.
The text was updated successfully, but these errors were encountered:
I wonder how did this go completely unnoticed for 5 years, at least in the docs. It now even raises issues with Symfony (starting with 4.4.2 for default configurations), because SF also assumes indexBy value is a entity field, tries to fetch its metadata and of course fails
Jira issue originally created by user backbone:
The following example does work:
If you use indexBy="category", it does not work. Why are the object property names used for referencing in most of the mapping, but for indexBy you have to use the db field name? It is nowhere mentioned in the docs.
I didnt test this with non-association properties as indexBy.
The text was updated successfully, but these errors were encountered: