patrodyne / hisrc-basicjaxb

XJC plugins and tools for JAXB.
BSD 3-Clause "New" or "Revised" License
15 stars 6 forks source link

Fluent API - method prefix is changed from with to use #9

Closed mohanaraosv closed 1 year ago

mohanaraosv commented 1 year ago

Ref : https://github.com/highsource/jaxb2-basics/blob/77fc1a3d5b3561af68d19ebe8e01adb9d567f5bd/basic/src/main/java/org/jvnet/jaxb2_commons/plugin/fluent_api/FluentMethodType.java#L165

https://github.com/patrodyne/hisrc-basicjaxb/blob/55c97f36245584b704c0ae7d9ea6c50e1ac98fdb/plugins/src/main/java/org/jvnet/basicjaxb/plugin/fluentapi/FluentMethodType.java#L167

Is it possible to make it configurable. Cause it's breaking existing logics.

patrodyne commented 1 year ago

Yes, it is possible to make it configurable. I have parameterized a new option in this commit 9c28463. The option will be included in the next release (no ETA).

mohanaraosv commented 1 year ago

I have verfied the changes working as expected.

patrodyne commented 8 months ago

The option to configure the Fluent method prefix (ex: "with" instead of "use") is available in HiSrc BasicJAXB Release 2.2.0.