You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If so, wouldn’t (String -> Decoder k) -> Decoder v -> Decoder (List ( k, v )) make more sense? I’m thinking it is strange to ask for a decoder for the keys when we know that only Json.Decode.string would ever succeed (since object keys are always strings). See also: #22 (comment)
Would be nice to have a key-value decoder that allowed you to specify the key decoder, instead of it always being
String
🙂Useful when using wrapped types like
type ID = ID String
The text was updated successfully, but these errors were encountered: