type field should compile to "type_"
muelli opened this issue · 1 comments
muelli commented
When generating code for a JSON struct that has a "type" member, the Elm code won't be happy due to reserved words being found in the generated code.
It'd be nice to issue at least a warning when generating the code. Better even to rename to something that actually compiles.
holgerl commented
I ran across the same problem. This should be addressed soon!