Skip to content
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

Use dw DataSize for validation #3642

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

thoniTUB
Copy link
Collaborator

No description provided.

import io.dropwizard.util.DataSize;

@AutoService(ConstraintValidator.class)
public class DataSizeMaxValidator implements ConstraintValidator<Max, DataSize> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

io.dropwizard.validation.MaxDataSize

gibt es schon

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ups, den habe ich übersehen. Danke!

@thoniTUB thoniTUB requested a review from awildturtok December 17, 2024 11:40
@thoniTUB thoniTUB enabled auto-merge December 17, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants