The review for SE-0320 concluded and the core team decided to return the proposal for minor revisions.
The feedback from the review was positive, and members of the community suggested several improvements that the author and core team felt would be good to adopt:
- Adding conformance for
String
andInt
toCodingKeyRepresentable
which will allow the natural use ofString
andInt
keys whenCodingKeyRepresentable
is used as a generic constraint. - Make the initializer of the
CodingKeyRepresentable
protocol be generic. - Provide default implementations for the conformance for
RawRepresentable
(withString
andInt
raw values). - Make the initializers of the internal
_DictionaryCodingKey
non-failable.
Thanks to everyone who participated!
Tom Doron,
Review Manager