Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2546

[JUnit] CollectionLayout#sortedBy should be effective based on actual runtime type

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            hobrom Andi Huber

            Dates

              Created:
              Updated:

              Slack

                Issue deployment