You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.
I noticed when trying to use ValidationRuleSet's public init(rules: [Rule]) with more than one Rule with the same validate type I get an error.
For example using ValidationRuleLength and an email pattern with ValidationRulePattern,
provides the Xcode compile time error Cannot convert value of type 'ValidationRuleLength' to expected element type '_'
Any ideas how to solve this? Currently adding them individually works though.
Thanks!
The text was updated successfully, but these errors were encountered:
I noticed when trying to use
ValidationRuleSet
'spublic init(rules: [Rule])
with more than oneRule
with the same validate type I get an error.For example using
ValidationRuleLength
and an email pattern withValidationRulePattern
,provides the Xcode compile time error
Cannot convert value of type 'ValidationRuleLength' to expected element type '_'
Any ideas how to solve this? Currently adding them individually works though.
Thanks!
The text was updated successfully, but these errors were encountered: