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

Metadata validation failure when no @Nullable is present

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M1
    • 2.0.0-M1
    • Core
    • None

    Description

      Given an action like ...

      @Action
      public SimpleObject create(
          @Parameter(optionality=Optionality.MANDATORY)
          String name    ) {
          
          ...
      }

      Though valid, will provoke a

      Conflicting @Parameter#optionality with other optionality annotation: d.d.SimpleObjects#create(java.lang.String)
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: