Looking for code by @miniBill I found this discussion from last September that basically discusses the same question. @miniBill created some interesting code in Ellie. I have take a good look at it. But by the looks of it, it would indeed be great if this becomes available in a library. See: https://discourse.elm-lang.org/t/extracting-type-metadata-from-elm-code/6251
berryg
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Codec with non-matching structures: object/custom type | 10 | 528 | May 3, 2023 | |
| Experiment mapping custom-types to JSON | 7 | 1281 | May 22, 2020 | |
| Extracting type metadata from Elm code? | 18 | 1968 | September 16, 2020 | |
| Elm-serialize: Quickly and reliably encode and decode Elm values | 1 | 1981 | August 5, 2020 | |
| Encoding/Decoding Recursive Types with miniBill/elm-codec | 9 | 1480 | July 7, 2019 |