3 ms·
JSON Decoders were the killer for me. Just way too verbose.
by tarr11 9y ago
JSON Decoders were the killer for me. Just way too verbose.
- enalicho 9y agoLuckily there's a whole range of tools dedicated to making your life there a bit easier: - json-to-elm http://json2elm.com http://json2elm.com - swagger-elm https://github.com/ahultgren/swagger-elm/ https://github.com/ahultgren/swagger-elm/ - elm-graphql https://github.com/jahewson/elm-graphql https://github.com/jahewson/elm-graphql, https://github.com/jamesmacaulay/elm-graphql https://github.com/jamesmacaulay/elm-graphql - elm-export https://hackage.haskell.org/package/elm-export https://hackage.haskell.org/package/elm-export And so on :) While it would be nice to solve Json Decoders in a better way, these solutions are very helpful for the time being.