exoscale / egoscale

exoscale golang bindings
https://pkg.go.dev/github.com/exoscale/egoscale/v3
Apache License 2.0
31 stars 15 forks source link

V3: Add better message on validator #615

Closed pierre-emmanuelJ closed 6 months ago

pierre-emmanuelJ commented 6 months ago

Description

More explicit error message on the default validator

Checklist

(For exoscale contributors)

V3 alpha development

pierre-emmanuelJ commented 6 months ago
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