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

[5.8] Make inequality validation fail on different types rather than 500 #28174

Commits on Apr 10, 2019

  1. Make inequality validation fail on different types rather than 500

    There are four types of inequality validators: lt, lte, gt, gte.
    If these validators reference another attribute, the attribute
    must be of the same type. Before this change, if the payload has
    different types, a 500 error is given. However, the type is not
    determine by the rule configuration, but rather the HTTP request.
    Instead of throwing an error, just fail the validation.
    JonathanGawrych committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    1d348b1 View commit details
    Browse the repository at this point in the history