getsentry / getsentry/sentry-cocoa
Add types for event.context
Open
Breaking-change
Cocoa
Errors
Improvement
- Dominant language
- Swift
- Stars
- 1.1k
- Forks
- 418
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 106
Description
### Description
At the moment, the `event.context` is a dict of `string:any`, but we can add a statically typed data class to know contexts such as app, os, etc.
https://github.com/getsentry/sentry-cocoa/blob/8607e67a262a3e958b22e861bba7a57ec965b89c/Sources/Sentry/Public/SentryEvent.h#L128-L133
Contributor guide
Assessment
This issue has not been assessed yet.