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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.1.0
    • Core

    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

            People

              Unassigned Unassigned
              hobrom Andi Huber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: