Quantcast
Channel: Execute contract rules also when the schema is not valid?
Viewing all articles
Browse latest Browse all 4

Execute contract rules also when the schema is not valid?

$
0
0

Hello everyone!

I read from the dry-validation rules page that key-specific rules are not executed when the schema is not valid.

is there a way to enforce the rules also when the schema is not valid?

We’re looking to return all the errors in our API response. This would let the client see every issue at once, rather than first getting one schema error and then having to make more requests to find out about additional contract errors.

Hope that clarifies what we’re trying to do :slight_smile:

Read full topic


Viewing all articles
Browse latest Browse all 4

Trending Articles