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

Generally, dry-validation type checks code against a given schema. You cannot run rules against untyped data, this doesn’t make sense to me, to be honest. But if we’re talking about non-type predicates then yes, I think it should be possible, in theory. One can imagine an extension that extracts all non-type predicates and replaces them with rules, so all rules are run simultaneously. This does sound like a whole bunch of work, though :slight_smile:

Read full topic


Viewing all articles
Browse latest Browse all 4

Trending Articles