Closed legrostdg closed 7 years ago
Next error:
Error found:
in module ServerAPI
at src/ServerAPI.purs line 10, column 1 - line 10, column 41
Module Data.Argonaut.Printer was not found.
Make sure the source file exists, and that it has been provided as an input to psc.
@legrostdg it seems the Data.Argonaut.Printer
module along with the printJson
function was removed from purescript-argonaut-core. I think you can instead use stringify
from Data.Argonaut.Core
(see https://github.com/eskimor/servant-purescript/blob/0ee0700c6313cd3c2f93ce993ac33fac4c9d2656/src/Servant/PureScript/MakeRequests.hs#L111)
@themoritz Thanks, that was also my guess for an easy fix :-).
It compiles with my last commits.
Awesome, thanks for making these changes!
also, partially fixes #18
Fixes #27