Skip to content

Commit a3c4e7b

Browse files
committed
deprecate Baggage names
1 parent a10e253 commit a3c4e7b

File tree

2 files changed

+3
-38
lines changed

2 files changed

+3
-38
lines changed

Sources/InstrumentationBaggage/CompatibilityShims.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
@_exported import ServiceContextModule
1717

18+
@available(*, deprecated, message: "Use 'ServiceContext' from 'ServiceContextModule' instead.")
1819
public typealias Baggage = ServiceContext
20+
@available(*, deprecated, message: "Use 'ServiceContext' from 'ServiceContextModule' instead.")
1921
public typealias BaggageKey = ServiceContextKey
22+
@available(*, deprecated, message: "Use 'ServiceContext' from 'ServiceContextModule' instead.")
2023
public typealias AnyBaggageKey = AnyServiceContextKey

Tests/ServiceContextTests/ServiceContext+XCTest.swift

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)