Skip to content

Commit

Permalink
feat: make context fields public to make clearing values easier
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Nov 21, 2023
1 parent fb7acb6 commit ead289e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Sources/UnleashProxyClientSwift/Context.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
public struct Context {
let appName: String?
let environment: String?
var userId: String?
var sessionId: String?
var remoteAddress: String?
var properties: [String: String]?
public let appName: String?
public let environment: String?
public var userId: String?
public var sessionId: String?
public var remoteAddress: String?
public var properties: [String: String]?

init(
public init(
appName: String? = nil,
environment: String? = nil,
userId: String? = nil,
Expand Down

0 comments on commit ead289e

Please sign in to comment.