This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
Improve value-constructor plugin to use only elements with minOccurs greater than 0 with no default value and only required attributes #11
Milestone
Currently, the value constructor plugin generates a fully initializing
constructor with all elements and attributes.
Client codes that use these constructors will break when a new optional element
or attribute is added to the schema.
A better solution is to generate a partially initializing constructors with only
elements that have minOccurs greater than 0 and with no default value and
required attributes.
It'd be better to use the default-value-plugin to provide default values.
Alex Wei
Environment
Operating System: All
Platform: All
Affected Versions
[current]
The text was updated successfully, but these errors were encountered: