Closed jaredramirez closed 6 years ago
After thinking about it, I think the best approach is using a separate system to define & generate types from. My reasoning is what I've mentioned above, plus the fact that I think it will keep the process simpler for people interested in using this tool by eliminating some of the "magic" going on behind the scenes.
Agreed!
This is a continuation of https://discourse.elm-lang.org/t/generating-border-types/722
Basically we are not sure if we want to generate types from format (YAML, JSON, etc) that defines them, or generate them from an Elm program that exposes ports.
My preference is using something like YAML or JSON, for a few reason: