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 Jan 3, 2021. It is now read-only.
Currently, many functions require an array or other specific collection type where it's not necessary.
An example: public static func validateDatabaseIntegrity(problemLimit limit: Int = Int.max, types: [_Model.Type]) throws -> [DatabaseProblem] where types could easily be a Set, AnySequence or any other sequence of _Model.Type.
In addition to this, _Model.Type... might make the API more easy, too
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, many functions require an array or other specific collection type where it's not necessary.
An example:
public static func validateDatabaseIntegrity(problemLimit limit: Int = Int.max, types: [_Model.Type]) throws -> [DatabaseProblem]
wheretypes
could easily be aSet
,AnySequence
or any other sequence of_Model.Type
.In addition to this,
_Model.Type...
might make the API more easy, tooThe text was updated successfully, but these errors were encountered: