Skip to content

Implement #5314, new MapperFeature.DETECT_PARAMETER_NAMES - #5315

Merged
cowtowncoder merged 7 commits into
FasterXML:3.xfrom
JooHyukKim:fix-5314
Sep 16, 2025
Merged

cowtowncoder merged 7 commits into
FasterXML:3.xfrom
JooHyukKim:fix-5314

Conversation

@JooHyukKim

@JooHyukKim JooHyukKim commented Sep 14, 2025 •

Copy link
Copy Markdown
Member

Fixes #5314

* <p>
* Feature is enabled by default.
*/
USE_IMPLICIT_PROPERTY_NAME(true),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think name is bit misleading: what we do is (or not) detect implicit method/constructor parameter names. Implicit names are always used tho, regardless of this setting.

So maybe DETECT_PARAMETER_NAMES instead?

Javadoc description needs to be changed a bit too.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, makes sense.
I also made some changes to JavaDoc

@cowtowncoder cowtowncoder changed the title Implement #5314, new MapperFeature.USE_IMPLICIT_PROPERTY_NAME Implement #5314, new MapperFeature.DETECT_PARAMETER_NAMES Sep 16, 2025
@cowtowncoder
cowtowncoder merged commit bc1f2ff into FasterXML:3.x Sep 16, 2025
@JooHyukKim
JooHyukKim deleted the fix-5314 branch September 20, 2025 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants