Skip to content
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

Support generate elm api as HttpBuilder ? #33

Open
hjmtql opened this issue Nov 22, 2017 · 0 comments
Open

Support generate elm api as HttpBuilder ? #33

hjmtql opened this issue Nov 22, 2017 · 0 comments

Comments

@hjmtql
Copy link

hjmtql commented Nov 22, 2017

Now it seems generating elm api is as only Http.
http://package.elm-lang.org/packages/elm-lang/http/1.0.0/Http

There may be something like that Want to add some header parameter

But Http (unfortunately...) insists that Do not support for modifying existing request
(it means generated request code cannot be modified)
ref : https://github.com/elm-lang/http/issues/27

Against this kind of problem,
I think support generate elm api as HttpBuilder (extra Http library) is one of a flexible solution.
http://package.elm-lang.org/packages/lukewestby/elm-http-builder/5.1.0/HttpBuilder

What do you think about this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant