swift-service-context icon indicating copy to clipboard operation
swift-service-context copied to clipboard

Fix deprecated message cannot handle in swift 5

Open sidepelican opened this issue 11 months ago • 0 comments
trafficstars

When using the async ServiceContext.withValue in Swift 5, warnings always appear. @available(*, deprecated) annotation should not be exist in Swift 5 block. Additionally, since there are no other async overloads, @_disfavoredOverload is unnecessary.

sidepelican avatar Dec 17 '24 04:12 sidepelican