choonkeat / elm-webapp

A setup for writing http based, client-server app in elm, inspired wholly by lamdera.com
https://package.elm-lang.org/packages/choonkeat/elm-webapp/latest
MIT License
57 stars 7 forks source link

Types.elm -> Protocol.elm #4

Closed choonkeat closed 3 years ago

choonkeat commented 3 years ago

Having Types.* encourages careless accumulation of types inside it.

If we have Protocol.MsgFromServer Protocol.MsgFromClient instead, we can hope one might double take on Protocol.Customer being canonical and consider if it's really rooted under Protocol or should perhaps Customer be its own module.

choonkeat commented 3 years ago

Implemented in 90821870c82cb0fb63ccbf158d9a0f96418176dc