Skip to content

Does CrashLoggingDataProvider need to exist as a protocol? #221

@mokagio

Description

@mokagio

While working on #220, I was surprised to see CrashLoggingDataProvider as a protocol when the role it has in the code is that of a value type carrying configuration values.

If there's no external constraint on it being a protocol, I propose to convert it into a struct.

Having it as a struct would mean clients can create an instance directly, without the cruft of implementing a custom type conforming to it.

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