Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lamdera types in Types.elm module incorrectly removed #66

Open
MartinSStewart opened this issue Jun 8, 2022 · 0 comments
Open

Lamdera types in Types.elm module incorrectly removed #66

MartinSStewart opened this issue Jun 8, 2022 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@MartinSStewart
Copy link
Contributor

In order for Lamdera to work, Types.elm must contain FrontendModel, FrontendMsg, BackendModel, BackendMsg, ToFrontend, and ToBackend.

elm-review-unused can potentially remove these types if they aren't referenced anywhere however.

A work around is to make sure Frontend.app and Backend.app have type annotations since this will ensure all of these types are referenced.

@jfmengels jfmengels added bug Something isn't working help wanted Extra attention is needed labels Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants