Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant