You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds: Refactorings of outputted Elm code and dependency updates
- Updates elixir, erlang, mix project and dependency versions.
- Updates README with updated example output code.
- Updates example input/output files.
- Fixes some credo warnings regarding application.get_env.
- Updates error messages to use properly static pointers to JSON schema
standards.
- Migrates all types to use `typed_struct` and also adds a proper `error_type`
union type.
- Simplifies `preamble.elm.eex` by removing all function imports and instead
making qualified function calls, e.g. `succeed` becomes `Decode.succeed` in
Elm decoders, and similarly for all other library calls expect the decode
pipeline calls.
- Renames `Util.elm` to `Encode.elm` and removes function imports turning
calls such as `encodeRequired` into `Encode.required`.
- Splits the parsing and decoding for enums into two so the `enumDecoder`
calls a dedicated `parseEnum` function making it easier to reuse the
`parseEnum` in other contexts.
- Updates dependencies in the generated `.tool-versions`, `package.json` and
`elm.json` files.
- Adjusts tests accordingly to the changes above.
0 commit comments