You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2023/06/27 07:01:32 UTC

[causeway] branch master updated: CAUSEWAY-3503: validateNXxx() ... update mignotes

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git


The following commit(s) were added to refs/heads/master by this push:
     new 944a65159a CAUSEWAY-3503: validateNXxx() ... update mignotes
944a65159a is described below

commit 944a65159a925034c1b3e99349f69e0ee420009f
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Jun 27 09:01:27 2023 +0200

    CAUSEWAY-3503: validateNXxx() ... update mignotes
---
 .../modules/ROOT/pages/2023/2.0.0-RC2/mignotes.adoc        | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/antora/components/relnotes/modules/ROOT/pages/2023/2.0.0-RC2/mignotes.adoc b/antora/components/relnotes/modules/ROOT/pages/2023/2.0.0-RC2/mignotes.adoc
index 24679c997d..177a54d53f 100644
--- a/antora/components/relnotes/modules/ROOT/pages/2023/2.0.0-RC2/mignotes.adoc
+++ b/antora/components/relnotes/modules/ROOT/pages/2023/2.0.0-RC2/mignotes.adoc
@@ -16,6 +16,20 @@ that is, if the latter was present on an Action's return type, hence removed
 * `Collection#hidden` ... use `CollectionLayout#hidden` instead
 * `Property#hidden` ... use `PropertyLayout#hidden` instead
 
+Parameter support method `validateNXxx(...)` is now supported to only have a single argument, 
+namely the parameter, that is subject to validation. 
+
+[WARNING]
+====
+This may potentially change behavior
+for cases when the action's first and the n-th parameter 
+are the same type and 
+given a single argument parameter support method with same type also, 
+then previously it interpreted the support to be associated with 
+the first parameter, while now it will interpret the support to be 
+associated with the n-th parameter. (using _n_ as 1-based here)
+====
+
 == Maven Artifacts
 
 Incubator projects `viewer-vaadin` and `viewer-javafx` were discontinued in version 2.x,