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

[Validation] Fail early, if autoComplete/choice semantics is invalid

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      given a mixin with a non-scalar param, with present or missing support

      @MemberSupport public Collection<ApplicationRole> choicesInitialRole() {
          return applicationRoleRepository.allRoles();
      }
      

      then ...

      MM must fail on incompatible return type
      MM must fail on missing choice semantics
      MM must fail if bounded, but type is not an entity (eg. abstract)

      @DomainObject(bounding = Bounding.BOUNDED)
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: