servant-elm icon indicating copy to clipboard operation
servant-elm copied to clipboard

Automatically derive Elm functions to query servant webservices

Results 16 servant-elm issues
Sort by recently updated
recently updated
newest added

Even if you customize `elmTypeAlteration` of `ElmOptions`, `generateElmForAPIWith` never notices about the change and thus the request part of generated elm code tries to call `jsonDecFoo`, where `Foo` is the...

subj See also: https://discourse.haskell.org/t/looking-for-maintainers-hedis-and-servant-elm/4616

Is there a way to derive the end points using a custom aeson instance? When I try to use a custom aeson instance I get: ``` *** Exception: Library Bug:...

Currently if you have a type alias `type BookId = Key Book` that you `Capture "book-id" BookId` it'll be rendered as `(Key Book)`, and you have to replace it manually,...

In my project I use opaleye lib. I have to define polymorphic data type that corresponds to db table and several type synonyms with concrete fixed type parameters. For example:...

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` to...

It's often useful to just render a link in elm and this could be done from servant api. For example api might expose a download url.

enhancement

Here's what my routes look like (using `servant-generic`): ``` data Routes route = Routes { rTest :: route :- "test" :> Get '[JSON] Text , rOAuthReturn :: route :- "oauth-return"...

I could have sworn there was an issue already, but I guess not. In any case, with the way the code is generated now, we have no way of ever...

First of all, thank you for your work in creating this library! I've hit a small snag: I have a newtype that is used as a capture parameter in an...