Evaluate whole Rulesets and set errors from Error enum #9
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
reflect/rules-plugin!9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/9/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR changes a lot of things how rules are validated and returned in rulesets.
Rulesets now do what their names says and evaluates a set of
Rules. Evaluation is no longer limited to a singleGET()orPOST()scope.This plugin no longer returns a
Reflect\Response, but insead exposes all errors found with two new methodsRuleset->is_valid()andRuleset->get_errors().See the README in this PR for full documentation of all changes.