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
This repository method causes an issue with 4.3.1 but not with 4.2.7-SNAPSHOT :
@Query("#{#n1ql.selectEntity} USE KEYS $1")
List<BaseManageableEntity> findAllByIdIn(List<String> ids);
This method can return a variety of types of documents all extending the BaseManageableEntity abstract class.
With 4.2.7-SNAPSHOT the returned objects have the type of their inner class, A or B both extending BaseManageableEntity, the list carries the lower bound and is of type List<BaseManageableEntity>.
With 4.3.1 the returned method tries to deserialize the documents as instances of BaseManageableEntity causing an error, since BaseManageableEntity is an abstract class.
The behavior of 4.2.7-SNAPSHOT is the correct behavior imo, since it's easier and more natural to go in this direction than the other one.