Skip to content
This repository was archived by the owner on Jan 3, 2021. It is now read-only.
This repository was archived by the owner on Jan 3, 2021. It is now read-only.

More generics #11

@Joannis

Description

@Joannis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions