Skip to content
Merged
Prev Previous commit
Next Next commit
Updates nullable field declarations to use annotations
  • Loading branch information
antonis committed Sep 24, 2024
commit c2f49e080b3e1a4470540dd5e79b8ab9df8cb40d
8 changes: 4 additions & 4 deletions Sources/Sentry/Public/SentryBreadcrumb.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ NS_SWIFT_NAME(Breadcrumb)
/**
* @c NSDate when the breadcrumb happened
*/
@property (nonatomic, strong) NSDate *_Nullable timestamp;
@property (nonatomic, strong, nullable) NSDate *timestamp;

/**
* Type of breadcrumb, can be e.g.: http, empty, user, navigation
* This will be used as icon of the breadcrumb
*/
@property (nonatomic, copy) NSString *_Nullable type;
@property (nonatomic, copy, nullable) NSString *type;

/**
* Origin of the breadcrumb that is used to identify source of the breadcrumb
Expand All @@ -43,12 +43,12 @@ NS_SWIFT_NAME(Breadcrumb)
/**
* Message for the breadcrumb
*/
@property (nonatomic, copy) NSString *_Nullable message;
@property (nonatomic, copy, nullable) NSString *message;

/**
* Arbitrary additional data that will be sent with the breadcrumb
*/
@property (nonatomic, strong) NSDictionary<NSString *, id> *_Nullable data;
@property (nonatomic, strong, nullable) NSDictionary<NSString *, id> *data;

/**
* Initializer for @c SentryBreadcrumb
Expand Down