purescript-codec-argonaut
purescript-codec-argonaut copied to clipboard
APIs with left out fields don't compose well with APIs using non-purescripty casing
If I use camelCase in my codebase, and an API uses snake_case, it seems like I have to use prismaticCodec and create converter functions that convert {field_name :: Foo} to {fieldName :: Foo}.
Using the alternative CA.prop API, I can specify the key name, so there is no issue. But then I can't have left-out fields as there is no pendant to recordPropOptional. Why is there no recordPropOptionalWithCustomKeyName?