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

Separate models + introduce sub-module inits #217

Open
mrapacz opened this issue Feb 28, 2018 · 0 comments
Open

Separate models + introduce sub-module inits #217

mrapacz opened this issue Feb 28, 2018 · 0 comments

Comments

@mrapacz
Copy link
Collaborator

mrapacz commented Feb 28, 2018

Type

Refactor

Current behaviour
We have some chaos happening in our General/Models.elm file right now. What we would really want is make our main model like

{panelData: PanelData
,authData: AuthData
}
``` etc.

We would also refrain from initializing the models manually in the main Model file. Instead we would just say 

authData = Auth.Models.initialData


Should be way clearer!
@mrapacz mrapacz added this to the Elm refactor milestone Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant