Closed samhh closed 1 year ago
Solves this internal use case: https://github.com/unsplash/unsplash-web/pull/9143#discussion_r1042133211
Currently the stringly mapped codec constructor - one of the most convenient - only supports matching against strings. This PR widens it to support any primitive type. This is as wide as we can go without requiring Eqs from the consumer.
Eq
Solves this internal use case: https://github.com/unsplash/unsplash-web/pull/9143#discussion_r1042133211
Currently the stringly mapped codec constructor - one of the most convenient - only supports matching against strings. This PR widens it to support any primitive type. This is as wide as we can go without requiring
Eq
s from the consumer.