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
It seems there is a circular dependency creating the DatabaseFieldConfig for the foreign collection and the foreign field. They both want to know each others table config. Using a "fake" third table config with less properties it will work.
There is a circular dependency but all you have to do is configure the b table config first, without setting the fieldA.setForeignTableConfig(...), then do the a table config and save it in a variable, then go back and call fieldA.setForeignTableConfig(fieldATableConfig).
Hi,
I want to create DatabaseTableConfigs for two classes, with a one-to-many relationship:
Take this as example:
I get No fields have a DatabaseField annotation in class B with my current setup and I can not find any help regarding this problem.
I have something like this as my current config:
The text was updated successfully, but these errors were encountered: