Matt Bray

Results 18 comments of Matt Bray

I had the same issue when starting a new project using LTS Haskell 4.1 (first time using 7.10.3 on this machine). Re-building ghc-mod with 7.10.3 seems to have solved the...

The functions generated by `servant-elm` take parameters in the following order: 1. Headers 2. URL path captures 3. URL query args 4. Request body Since we use `servant-foreign`'s [`listFromAPI`](https://www.stackage.org/haddock/lts-8.0/servant-foreign-0.9.1.1/Servant-Foreign.html#v:listFromAPI), we...

Thanks for the PR! I think we could definitely have an option to switch on this behaviour. That would only allow users to enable/disable it for their entire API though....

Can you check you're using the latest version of `servant-elm`? I believe this was fixed in https://github.com/mattjbray/servant-elm/pull/31.

Thanks! Yes, `servant-elm` is really just a thin wrapper around `elm-export`, which does not yet support generating Elm encoders/decoders for sum types. As far as I know there's no technical...

`elm-export` still doesn't support sum types (but see https://github.com/krisajenkins/elm-export/pull/34 for some promising progress). On the other hand, `servant-elm` no longer uses a fork of `elm-export`, so perhaps we can close...

Hi, Thanks - glad you like the library! We're waiting for `servant-foreign` to add support for the `AuthProtect` combinator, then we can think about how to support auth in `servant-elm`....

Great! Sorry, it would have been helpful for me to put the language pragmas and imports in my snippet...

Forgot to mention - I got this behaviour both on v1.4.0 and master (7367f1df).

@tchoutri apologies for the long silence. Unfortunately I'm not using servant/elm in my current work so I don't think I'll get around to this. Will close. Feel free to reopen...