Skip to content

Commit

Permalink
Makes SelfDescribingJson open
Browse files Browse the repository at this point in the history
This allow inheritance on the client side. This as the behaviour available with Objc version of the SDK and one I could not find any drawback in the current state of the SDK. Being able to inherit allows of use of type's init while preserving SelfDescribingJson identity.
  • Loading branch information
TwoDollarsEsq committed Sep 10, 2024
1 parent bf14959 commit 04aa389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Snowplow/Payload/SelfDescribingJson.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Foundation
/// This class holds the information of a self-describing JSON.
/// - seealso: SPPayload
@objc(SPSelfDescribingJson)
public class SelfDescribingJson: NSObject {
open class SelfDescribingJson: NSObject {
/// the schema URI for this self-describing JSON.
@objc
public var schema: String
Expand Down

0 comments on commit 04aa389

Please sign in to comment.