Skip to content

ref: Use Swift integrations #6863

@github-actions

Description

@github-actions

Note

The pull request "ref: Use Swift integrations" was created by @noahsmartin but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.

Adds a new protocol for integrations that takes dependencies as an input. For the easiest migration conformers of the protocol can satisfy the Dependencies associated type with just typealias Dependencies = SentryDependencyContainer. This PR shows how it can be used to make the dependencies just define the minimum necessary dependencies so it can be easily mocked in tests.

#skip-changelog

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions