You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2021/02/24 10:36:00 UTC
[jira] [Created] (ISIS-2546) CollectionLayout#sortedBy should be
effective based on actual runtime type
Andi Huber created ISIS-2546:
--------------------------------
Summary: CollectionLayout#sortedBy should be effective based on actual runtime type
Key: ISIS-2546
URL: https://issues.apache.org/jira/browse/ISIS-2546
Project: Isis
Issue Type: Improvement
Components: Isis Core
Reporter: Andi Huber
Fix For: 2.0.0-M6
Double check whether for an entity that holds a relation of type Set<?> annotated with @CollectionLayout, the framework actually applies the specified comparator. (default is natural order).
My suspicion is that it only does this for compile time type SortedSet<?>. We might need to do a runtime type inspection, rather than rely on the meta-model, which does compile time inspection.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)