Skip to content

Missing Container Constraints in 17.0-hibernate-validator-6.2.0-Final version #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
arnesenfamily opened this issue Mar 30, 2022 · 1 comment

Comments

@arnesenfamily
Copy link

Describe the bug
The @ContainerSize and @ContainerNotEmpty directives are ignored in the 17.0-hibernate-validator-6.2.0-Final jar in maven central.

To Reproduce
@ContainerNoEmpty and @ContainerSize are ignored when included in a schema when using the 17.0-hibernate-validator-6.2.0-Final jar version.

If I'm reading things correctly, it looks like the v17.x-validator-6.2.0.Final branch was the one used to build the 17.0-hibernate-validator-6.2.0-Final jar in maven central and based on a diff of that branch and master, the ContainerSizeConstraint and ContainerNotEmptyConstraint objects are missing. I'm not sure if this was a timing thing or a feasibility thing (e.g. those two constraints don't work with validator 6.2.0-Final), but is there any way we could get a jar published to maven with graphql-java 17.x and hibernate 6.2.0-Final support that includes these two missing contraints?

@dondonz
Copy link
Member

dondonz commented Jan 3, 2024

Hello, sorry for the very delayed reply. This was probably left off unintentionally, given the difficulty in maintaining two parallel versions of the library.

We have since discontinued these special backwards compatible releases, more explanation in this comment: #94 (comment)

Sorry we didn't see your issue earlier!

@dondonz dondonz closed this as completed Jan 3, 2024
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

No branches or pull requests

2 participants