Skip to content

Fix `Data` Conversion to `RESPValue`

Nathan Harris requested to merge fix-data-conversion into master

Motivation:

Foundation.Data was unexpectedly receiving RESPValueConvertible conformance through the Collection extension which lead to incorrect encoding.

Modifications:

Add explicit conformance to RESPValueConvertible for Data.

Result:

Users should see their Data encoding to RESP format as expected.

Merge request reports