-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to Elm 0.18 #51
Conversation
Looks like navigation will have to adapt too:
|
Update status of dependencies:
|
With the release of elm-mdl 8.x we are ready to update to Elm 0.18. Will wait for #56 being merged. |
Removing from the 0.0.1 milestone. Thought it's low hanging fruit, let's do it right after we're done with 0.0.1 |
- No more primes in variable names - Arguments flipped for `andThen` - Changes in core library functions, modules `Json.Decode` and `Task` - No more Html.App
We also now use lukewestby/elm-http-builder to replace our own helper functions here.
Implementation currently won't support any non-empty basePath. May be added back again later if needed.
The standard functions of elm-lang/http and lukewestby/elm-http-builder to add a JSON body automatically set 'Content-Type: application/json' in the header, which is not conforming to JSON API. http://jsonapi.org/format/#introduction
The need for this change comes with elm-lang/http, as a naive `toString` approach may result in very long text here. Also don't save the httpError in the model. We don't need it.
Should be working now. @oliverbarnes please review. Some notes about the migration:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌 looks great, code is easier to understand indeed. thanks!
See Evan's upgrading guide.
Most changes will be mechanically ones.
Http API changed, will have to adapt.
Also have to wait for our dependencies to be updated.