swift-service-context
swift-service-context copied to clipboard
Fix deprecated message cannot handle in swift 5
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.