PathKit icon indicating copy to clipboard operation
PathKit copied to clipboard

Make Path Codable

Open Tinder-OscarBerggren opened this issue 5 months ago • 1 comments

Made Path codable Added unit tests

I don't know if anyone else is in need of this but we extend Path in our repo and with Swift 6.2 we get this error.

error: extension declares a conformance of imported type 'Path' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future

For now we solved it by adding @retroactive

Tinder-OscarBerggren avatar Jul 31 '25 18:07 Tinder-OscarBerggren

I don't know where things are supposed to be placed so please come with feedback

Tinder-OscarBerggren avatar Jul 31 '25 18:07 Tinder-OscarBerggren