Skip to content

Make Path Codable #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tinder-OscarBerggren
Copy link

@Tinder-OscarBerggren Tinder-OscarBerggren commented Jul 31, 2025

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

Added unit tests
@Tinder-OscarBerggren
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant