declex icon indicating copy to clipboard operation
declex copied to clipboard

@Exported classes cannot use @Populate on Models not annotated with Model

Open smaugho opened this issue 6 years ago • 0 comments

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;    

}

smaugho avatar Nov 02 '17 10:11 smaugho