declex
declex copied to clipboard
@Exported classes cannot use @Populate on Models not annotated with Model
If it is used @Populate in an @Exported annotated class, it will not work at least that you annotated with @Model, for instance, this doesn't work:
@Exported
public SomeExportedClass {
@Populate
User user;
}
It generates compilation errors. This works:
@Exported
public SomeExportedClass {
@Model(lazy = true)
@Populate
User user;
}