Fails to build with aeson 2
larskuhtz opened this issue · comments
Lars Kuhtz commented
src/Autodocodec/Aeson/Encode.hs:52:33: error:
• Couldn't match expected type ‘JSON.Key’ with actual type ‘Text’
• In the first argument of ‘(JSON..=)’, namely ‘k’
In the expression: k JSON..= go a c
In a case alternative: RequiredKeyCodec k c _ -> k JSON..= go a c
|
52 | RequiredKeyCodec k c _ -> k JSON..= go a c
| ^
Tom Sydney Kerckhove commented
Jup this doesn't surprise me. I don't use aeson 2 yet so I'll fix this when I get to it.
Brandon Simmons commented