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
However this is highly inflexible. We should at least some of
provide ability to produce Text/String/Bytestring so it can be post-processed if needed or piped to any file (stdout)
make it possible to write the content to file descriptor (though I think above would be enough and better)
make it possible to extend default imports with custom imports for each type
This would make it possible to combine elm-street with hand written decoders and type as well as provide an ability to write working Elm which are not implemented by the library itself. Example: #111 This requires extending Types module with import Json.Decode.
The text was updated successfully, but these errors were encountered:
turboMaCk
changed the title
Allow for posibility to override default generation
Overrididing the default source code generation
Feb 23, 2021
Currently the only generation hooks are settings of a file path https://hackage.haskell.org/package/elm-street-0.1.0.4/docs/Elm-Generate.html#t:Settings
However this is highly inflexible. We should at least some of
This would make it possible to combine elm-street with hand written decoders and type as well as provide an ability to write working
Elm
which are not implemented by the library itself. Example: #111 This requires extendingTypes
module withimport Json.Decode
.The text was updated successfully, but these errors were encountered: