Closed jonathanjouty closed 7 months ago
@jonathanjouty latest servant-elm was migrated to http 2.0.0 actually. did you try 0.6.0.1?
Oh, sorry I just spotted k-bx/servant-elm/pull/3...
I was basing my assumption solely on the documentation I saw on the main Hackage page, i.e. the README.md
.
ooh, right, I thought that was changed to be up to date. @jonathanjouty would you care to make a PR updating it?
@k-bx I can try when I have a bit of time :) No promises!
https://package.elm-lang.org/packages/elm/http/latest/Http
There is no obvious CHANGELOG, but it's described (in very little detail) here: https://elm-lang.org/blog/working-with-files
The basic changes we had to do on our project was change
Http.Request resp
toCmd msg
. This removesHttp.send
and instead you pass yourmsg
constructor into theexpect
helper. There's also a small change to the record passed torequest
.There might as well be more things that I've overlooked :)