Closed fizker closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 82.85%. Comparing base (
a935b63
) to head (8d2d799
). Report is 2 commits behind head on main.
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.
Regarding the failing test, it reacts to the change of type. But since [UInt8]
conforms to DataProtocol
(which for the record is protocol DataProtocol : RandomAccessCollection where Self.Element == UInt8, Self.SubSequence : DataProtocol
), I am not sure it actually is a breaking change?
Why wasn't this changed in the Concurrency shims as well?
Probably just an oversight tbh
Why wasn't this changed in the Concurrency shims as well?
I didn't know that overload existed until you told me about it. I stumbled on the one I changed and didn't look further as it did what I wanted 🤷.
These changes are now available in 2.15.0
This allows for passing in
Data
orByteBufferView
tosend(_:)
, as well as the currently-supported[UInt8]
type.