Closed dnikolovv closed 4 years ago
I see, what would you suggest in order to fix this, adding something in the docs, changing the generator, ...?
I'll submit a fix shortly (if not today, tomorrow). It's to simply be explicit about the type of the Something went wrong
string.
If you have
OverloadedStrings
enabled (e.g. as a default) and attempt to useUseWithAPIGateway
, you'll get a similar error.The fix is to just add
{-# LANGUAGE NoOverloadedStrings #-}
at the top of the file.This issue can be easily resolved by annotating the strings in the generated code.