Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.
This repository was archived by the owner on May 4, 2022. It is now read-only.

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

Description

@smaugho

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;    

}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions