finos / morphir-elm

Tools to work with the Morphir IR in Elm.
https://package.elm-lang.org/packages/finos/morphir-elm/latest
Apache License 2.0
46 stars 65 forks source link

morphir-elm should fail if an exposed module does not exist #1172

Open duane opened 4 months ago

duane commented 4 months ago

Is your feature request related to a problem? Please describe.

I spent a good deal of time trying to debug why my type wasn't showing up in a generated IR file only to find I had exposed the wrong path to the module.

Describe the solution you'd like

Ideally, morphir-elm would verify that all exposed modules actually exist, and fail if they do not.

Describe alternatives you've considered

A warning would be fine, too.

🥂