added autocomplete for the back relation keys

This commit is contained in:
Gani Georgiev
2024-02-19 23:13:04 +02:00
parent 4937acb3e2
commit f2ed186540
36 changed files with 61 additions and 51 deletions
-2
View File
@@ -4,8 +4,6 @@
The syntax to reference back relation fields is `yourCollection_via_yourRelField.*`.
⚠️ To avoid excessive joins, the nested relations resolver is now limited to max 6 level depth (similar to `expand`).
_Note that in the future there will be also more advanced and granular options to specify a subset of the fields that are filterable/sortable._
@todo add Admin UI autocomplete
@todo update "Working with relations" docs
- Added support for multiple back/indirect relation `expand` and updated the keys to use the `_via_` reference syntax (`yourCollection_via_yourRelField`).
_To minimize the breaking changes, the old parenthesis reference syntax (`yourCollection(yourRelField)`) will still continue to work but it is soft-deprecated and there will be a console log reminding you to change it to the new one._