Closed dmjio closed 5 years ago
Ah whoops, I forgot to add it for both DefaultOrdered
and ToNamedRecord
instance DefaultOrdered Foo where
headerOrder = genericHeaderOrder defaultOptions
{ fieldLabelModifier = Prelude.drop (Prelude.length ("foo" :: String))
}
I seem to be unable to strip the prefix of a record before serializing it to a
ByteString
forcassava-0.5.1.0
.Expected:
Actual:
Minimal example: