Skip to content

Conversation

@jobayle
Copy link

@jobayle jobayle commented Dec 15, 2025

This use case:
https://docs.hibernate.org/stable/validator/reference/en-US/html_single/#section-property-node-name-provider

Uses the interpolator, which is an internal component of Jackson that was exposed for testing purposes.

In Jackson 3, the interpolator is no longer publicly exposed, a Visitor must be used instead.

See discussion here:
FasterXML/jackson#330


If this is your first time contributing to the project,
please consider reviewing https://github.com/hibernate/hibernate-validator/blob/main/CONTRIBUTING.md

Please include a link to the Jira issue solved by this PR in the description;
see https://hibernate.atlassian.net/browse/HV ➡️ I cannot create a JIRA issue with my atlassian account


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on licensing, please check here.


This use case:
https://docs.hibernate.org/stable/validator/reference/en-US/html_single/#section-property-node-name-provider

Uses the interpolator, which is an internal component of Jackson that
was exposed for testing purposes.

In Jackson 3, the interpolator is no longer publicly exposed, a Visitor
must be used instead.

See discussion here:
FasterXML/jackson#330
@hibernate-github-bot
Copy link

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HV-\d+
    ↳ Offending commits: [08d53d6]

› This message was automatically generated.

@marko-bekhta
Copy link
Member

Hi @jobayle 👋🏻

thanks for the PR! It's been a while since that example was introduced 🙂, I'll have a closer look.
Do you happen to know if the same visitor approach would work in 2.8 ? I'm thinking since Validator is not really tied to Jackson versions, it might as well be that people are using it with 2.x versions of Jackson so would be nice if we can keep the example working with different versions.

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