We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With 1.13.3 I receive a Dry::Schema::MissingMessageError if I try to generate errors for the uri? predicate
require 'dry/schema' require 'uri' contract = Dry::Schema.Params do required(:uri) { str? & uri?(:https) & filled? } end result = contract.call(uri: "nope") puts result.errors.inspect
I should get a reasonable error message such as must be a valid URI
must be a valid URI
The text was updated successfully, but these errors were encountered:
Happy to put in a PR to fix this one. Seems very similar to #470 and https://github.com/dry-rb/dry-schema/pull/244/files
Sorry, something went wrong.
No branches or pull requests
Describe the bug
With 1.13.3 I receive a Dry::Schema::MissingMessageError if I try to generate errors for the uri? predicate
To Reproduce
Expected behavior
I should get a reasonable error message such as
must be a valid URI
My environment
The text was updated successfully, but these errors were encountered: