You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2022/04/27 09:12:00 UTC

[jira] [Resolved] (ISIS-3020) [Programming Model] Support Multivariate Parameter Supporting Methods

     [ https://issues.apache.org/jira/browse/ISIS-3020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber resolved ISIS-3020.
------------------------------
    Resolution: Resolved

For candidates
 # autoCompleteNXxx
 # choicesNXxx
 # defaultNXxx
 # disableNXxx
 # hideNXxx
 # validateNXxx

only (6) did not support more than one argument. Was lifting the constraints on (6), so we are compatible with the Apache Isis v1 programming model.

Multivariate parameter support is always enabled, unless explicitly disabled via environment variable
{noformat}
MULTIVARIATE_PARAMETER_SUPPORT=false
{noformat}
.

> [Programming Model] Support Multivariate Parameter Supporting Methods
> ---------------------------------------------------------------------
>
>                 Key: ISIS-3020
>                 URL: https://issues.apache.org/jira/browse/ISIS-3020
>             Project: Isis
>          Issue Type: Improvement
>          Components: Isis Applib (programming model)
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-RC1
>
>
> Maybe introduce a marker annotation, to explicitly enable this v1 backward compatibility, on a per method basis. 
> {code:java}
> @MultivariateParameterSupport
> public String validate0PlaceOrder(Product product, int quantity) { ... }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)