/elm-http-pipeline

A library for building HTTP requests using the pipeline (`|>`) operation and plain function calls.

Primary LanguageElmMIT LicenseMIT

elm-http-pipeline

A library for building HTTP requests using the pipeline (|>) operation and plain function calls.

Context

I enjoy using Json.Decode.Pipeline and when looking at Alex Korban's "How JSON Decode Pipeline Chaining Works". In seeing how the required and optional function work, I was curious if I might be able to do that for another "records" (aka type alias Blah).

I am not sure what I am doing here is a good idea (at all). In other words, "here might be slow monsters".

Testing

I am hoping to put this to use in testing the requests created: