Skip to content
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

Access to custom coding strategies in AnyEncodable? #6

Open
tkrajacic opened this issue May 23, 2018 · 0 comments
Open

Access to custom coding strategies in AnyEncodable? #6

tkrajacic opened this issue May 23, 2018 · 0 comments

Comments

@tkrajacic
Copy link

tkrajacic commented May 23, 2018

According to Itai Ferber on the Swift forums the implementation used in AnyEncoder is incorrect because it can't access custom encoding strategies of the type-erased type:

See https://forums.swift.org/t/how-to-encode-objects-of-unknown-type/12253/6

Any ideas? I mean this would only be a problem for custom types right?

@tkrajacic tkrajacic changed the title Possibly incorrect implementation of AnyEncodable? Access to custom coding strategies in AnyEncodable? May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant