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

V3: Add better message on validator #615

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

pierre-emmanuelJ
Copy link
Member

Description

More explicit error message on the default validator

Checklist

(For exoscale contributors)

V3 alpha development

Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>
Copy link

@aureliar8 aureliar8 left a comment

Choose a reason for hiding this comment

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

Do you have an example of the new message for the same error ?

@pierre-emmanuelJ
Copy link
Member Author

2024/01/24 09:20:29 Request validation error: 'CreateBlockStorageVolumeRequest.Size' = '99' does not validate 'gte=100'

What do you think about it @aureliar8 and @wdullaer? Is it more explicit
maybe the gte but it's understandable enough to me

@pierre-emmanuelJ pierre-emmanuelJ merged commit b414c83 into master Jan 24, 2024
1 check passed
@pierre-emmanuelJ pierre-emmanuelJ deleted the v3-validator-error-message branch January 24, 2024 10:00
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.

3 participants