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

validateNXxx() should support two forms: specify all N params, or jut the single Nth param.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Resolved
    • 2.0.0-RC1
    • 2.0.0-RC2
    • Core
    • None

    Description

      to reproduce: checkout CAUSEWAY-3505-reproduce branch from simpleapp.

       

      given the following action:

       

      in v1 the following is valid: 

      whereas in v2 I am currently required to specify all preceding N-1 params.

      We should support both forms:, because it is more common to validate a single param than to validate it in conjunction with others.

       

      Attachments

        1. image-2023-06-26-10-43-38-350.png
          94 kB
          Daniel Keir Haywood
        2. image-2023-06-26-10-44-04-668.png
          14 kB
          Daniel Keir Haywood
        3. image-2023-06-26-10-44-07-625.png
          14 kB
          Daniel Keir Haywood

        Activity

          People

            hobrom Andi Huber
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: