remove print
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
9c34ea267e
commit
e5d27cd423
@ -80,9 +80,7 @@ public extension RulesContainerProtocol {
|
|||||||
for rule in self.rules {
|
for rule in self.rules {
|
||||||
//validate the rule against the fields
|
//validate the rule against the fields
|
||||||
let tuple = rule.validate(fields, previousValidity)
|
let tuple = rule.validate(fields, previousValidity)
|
||||||
if let ruleId = rule.ruleId {
|
|
||||||
print("validation ruleId: \(ruleId) value: \(tuple) \nfields: \(rule.fields)" )
|
|
||||||
}
|
|
||||||
//merge the fieldValidity
|
//merge the fieldValidity
|
||||||
previousValidity = previousValidity.merging(tuple.fieldValidity) { (_, new) in new }
|
previousValidity = previousValidity.merging(tuple.fieldValidity) { (_, new) in new }
|
||||||
valid = valid && tuple.valid
|
valid = valid && tuple.valid
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user