Skip to content

Commit 16f7c13

Browse files
Make ValidationRuleHelper's rule property public. (#2101)
Co-authored-by: Mathias Claassen <mathias@xmartlabs.com>
1 parent 03f9ee9 commit 16f7c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Core/Validation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public struct ValidationOptions: OptionSet {
6666

6767
public struct ValidationRuleHelper<T> where T: Equatable {
6868
let validateFn: ((T?) -> ValidationError?)
69-
let rule: BaseRuleType
69+
public let rule: BaseRuleType
7070
}
7171

7272
public struct RuleSet<T: Equatable> {

0 commit comments

Comments
 (0)