sentry-cocoa icon indicating copy to clipboard operation
sentry-cocoa copied to clipboard

Extract SwiftUI view from modifier

Open brustolin opened this issue 1 year ago • 1 comments

Description

When SentryTracedView is used around a modified view ( VStack{}.padding() ), the automatic transaction name will be ModifiedView instead of VStack.

We should try to get the underling view name instead.

brustolin avatar Nov 21 '23 08:11 brustolin

Alternatively, if there is no reasonable way to get the underlying view name, we should call this out on the docs

kahest avatar Nov 21 '23 08:11 kahest