# How to 'make illegal state irrepresentable' in this situation?

**URL:** <https://discourse.elm-lang.org/t/how-to-make-illegal-state-irrepresentable-in-this-situation/8215>\
**Category:** Learn\
**Created:** [March 5, 2022, 11:48am UTC](https://discourse.elm-lang.org/t/how-to-make-illegal-state-irrepresentable-in-this-situation/8215 "2022-03-05T11:48:01Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![opsb](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/opsb/32/240_2.png) [@opsb](https://discourse.elm-lang.org/u/opsb)\
**Post date:** [March 7, 2022, 9:20pm UTC](https://discourse.elm-lang.org/t/how-to-make-illegal-state-irrepresentable-in-this-situation/8215/10 "2022-03-07T21:20:22Z")

</div>

This thread and the linked talk by Richard Feldman provide some good thoughts on this topic [Model as a relational database for components](https://discourse.elm-lang.org/t/model-as-a-relational-database-for-components/3619)

---

_[View the full topic](https://discourse.elm-lang.org/t/how-to-make-illegal-state-irrepresentable-in-this-situation/8215)._
