Deep dive into building a type-safe metrics API in Swift by replacing `Any` with protocol-based union types. Covers implementing `SentryAttributeValue` protocol to constrain attribute values to supported types, navigating Swift compiler limitations with array conformance, handling mixed-type arrays, and using `@unknown default`
Sort: