getsentry / getsentry/sentry-cocoa

Add types for event.context

Open
#2,319 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.