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

Lists don't cast correctly in adapter for models that are not @LocalDBModels #26

Closed
smaugho opened this issue Dec 3, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@smaugho
Copy link
Member

smaugho commented Dec 3, 2016

If a list populator is used with a model that is not annotated with @LocalDBModel:

@UseModel
public class MyModel {

}


@Model
@Populator
List<MyModel> myList;

This is not handled properly and MyModel is not casted in the generated Adapter to MyModel_, so it should be done only like:

@Model
@Populator
List<MyModel_> myList;

This is a bug that should be fixed.

Remark: it works properly for models annotated with @LocalDBModel.

@smaugho smaugho added the bug label Dec 3, 2016
@smaugho smaugho changed the title Lists not casts correctly in adapter for models that are not @LocalDBModels Lists don't cast correctly in adapter for models that are not @LocalDBModels Dec 3, 2016
@smaugho smaugho modified the milestone: Version 1.3 Mar 7, 2017
@smaugho smaugho self-assigned this Mar 24, 2017
@smaugho smaugho closed this as completed Mar 24, 2017
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant