[
https://issues.apache.org/jira/browse/CAUSEWAY-3437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17735990#comment-17735990
]
Andi Huber commented on CAUSEWAY-3437:
--------------------------------------
We agreed on mapping
@XmlElement(required=false) -> OPTIONAL
@XmlElement(required=true) -> MANDATORY
ignoring the nillable attribute completely for now.
---
In the future, if we want to refine things, then we would do that by figuring
out what "nillable" actually means in our MM (not the same as
mandatory/optional).
> Extend facet handling to infer optionality from JAXB @XmlElement.
> -----------------------------------------------------------------
>
> Key: CAUSEWAY-3437
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3437
> Project: Causeway
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-RC1
> Reporter: Daniel Keir Haywood
> Assignee: Andi Huber
> Priority: Minor
> Fix For: 2.0.0-RC2
>
>
> Once implemented, please update the @Property > optionality page in the demo
> app to say that this feature is supported ... there's a commented out
> paragraph already, as the replacement for the preceding para.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)