Closed borismarin closed 9 years ago
Sure.
But I'll also have to add an option to disable plural form to allow backwards compatibility.
Implemented, but must be documented:
https://github.com/highsource/jaxb2-basics/wiki/JAXB2-Simplify-Plugin
Wow, that was fast! Wouldn't it be better to default to singular, and trigger plurals by using the flag?
I also thought about it.
The question is usability for future users vs. backwards compatibility for existing users.
I think you're right. Backwards compatibility is more important.
I'll make usePluralForm
false
by default.
I have added a section on options/pluralization to the docs. Once you decide how to enable/disable pluralization, it must be updated accordingly.
I think it's better to disable the pluralization by default. Implemented now.
Documentation:
Would it be OK to credit you in the release notes?
Thank you very much for your contribution!
No worries, you are the one who did all the hard work... I've made a small change to the code snippets on the docs (the 'children' list and the type for 'foot' where missing).
Thanks!
On 6 January 2015 at 21:20, Alexey Valikov notifications@github.com wrote:
Closed #18 https://github.com/highsource/jaxb2-basics/issues/18.
Reply to this email directly or view it on GitHub https://github.com/highsource/jaxb2-basics/issues/18#event-214938537.
@highsource any idea when 0.9.3 will make it to the mvn repo?
@borismarin It is released now, should appear in the central within an hour.
Great!
On 24 January 2015 at 08:16, Alexey Valikov notifications@github.com wrote:
@borismarin https://github.com/borismarin It is released now, should appear in the central within an hour.
Reply to this email directly or view it on GitHub https://github.com/highsource/jaxb2-basics/issues/18#issuecomment-71304881 .
The simplify plugin generates
from the complex property
Would it be possible to generate "pluralized" lists (similarly to what simpler&better binding mode does), i.e.
?