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

Daniel Keir Haywood updated ISIS-2782:
--------------------------------------
    Description: 
We already have this for actions 
([https://apache-isis-committers.github.io/isis-nightly/refguide/latest/config/sections/isis.applib.html#isis.applib.annotation.action.explicit]
 ). 

This is for symmetry, but also to work with ISIS-2774 or two which is to be 
able to read direct from fields and support non-public supporting mehods; all 
of this would allow us to reduce boilerplate still further, and remove the use 
for @Programmatic if explicit=true for all of actions, properties and 
collections and supporting methods.
 * isis.applib.annotation.action.explicit=true|false
 * isis.applib.annotation.property.explicit=true|false
 * isis.applib.annotation.collection.explicit=true|false
 * isis.applib.annotation.memberSupport.explicit=true|false

and also one for all, with the ability go ignore selected packages (eg if 3rd 
party)
 * isis.applib.annotation.all.explicit=true|false
 * isis.applib.annotation.all.explicitExceptions=com.foo,com.bar

 

See also discussion: 
[https://the-asf.slack.com/archives/CFC42LWBV/p1625205578149000?thread_ts=1624911448.097500&cid=CFC42LWBV]

  was:
We already have this for actions 
([https://apache-isis-committers.github.io/isis-nightly/refguide/latest/config/sections/isis.applib.html#isis.applib.annotation.action.explicit]
 ). 

This is for symmetry, but also to work with ISIS-2774 or two which is to be 
able to read direct from fields and support non-public supporting mehods; all 
of this would allow us to reduce boilerplate still further, and remove the use 
for @Programmatic if explicit=true for all of actions, properties and 
collections and supporting methods.
 * isis.applib.annotation.action.explicit=true|false
 * isis.applib.annotation.property.explicit=true|false
 * isis.applib.annotation.collection.explicit=true|false
 * isis.applib.annotation.memberSupport.explicit=true|false

and also one for all:
 * isis.applib.annotation.explicitAll=true|false


See also discussion: 
https://the-asf.slack.com/archives/CFC42LWBV/p1625205578149000?thread_ts=1624911448.097500&cid=CFC42LWBV


> Add config properties to require explicit @Property, @Collection and 
> @MemberSupport.  (isis.applib.annotation.property.explicit etc)
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-2782
>                 URL: https://issues.apache.org/jira/browse/ISIS-2782
>             Project: Isis
>          Issue Type: New Feature
>          Components: Isis Core
>    Affects Versions: 2.0.0-M5
>            Reporter: Daniel Keir Haywood
>            Priority: Minor
>             Fix For: 2.0.0-M6
>
>
> We already have this for actions 
> ([https://apache-isis-committers.github.io/isis-nightly/refguide/latest/config/sections/isis.applib.html#isis.applib.annotation.action.explicit]
>  ). 
> This is for symmetry, but also to work with ISIS-2774 or two which is to be 
> able to read direct from fields and support non-public supporting mehods; all 
> of this would allow us to reduce boilerplate still further, and remove the 
> use for @Programmatic if explicit=true for all of actions, properties and 
> collections and supporting methods.
>  * isis.applib.annotation.action.explicit=true|false
>  * isis.applib.annotation.property.explicit=true|false
>  * isis.applib.annotation.collection.explicit=true|false
>  * isis.applib.annotation.memberSupport.explicit=true|false
> and also one for all, with the ability go ignore selected packages (eg if 3rd 
> party)
>  * isis.applib.annotation.all.explicit=true|false
>  * isis.applib.annotation.all.explicitExceptions=com.foo,com.bar
>  
> See also discussion: 
> [https://the-asf.slack.com/archives/CFC42LWBV/p1625205578149000?thread_ts=1624911448.097500&cid=CFC42LWBV]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to