mojotech / modernator-haskell

An API server for hosting Reddit AMA style Q&A sessions.
GNU General Public License v3.0
4 stars 0 forks source link

Explore alternative data structure for Sessions #9

Open RocketPuppy opened 8 years ago

RocketPuppy commented 8 years ago

Sessions right now don't contain a set of questions, questioners, or the answerer record. Each type is managed in its own set individually. Management of each type is simpler when they are managed individually, but some of the constraints on actions can be made implicit in the structure if a Session contained those models. That alternative structure should be explored so the tradeoffs can be properly weighed.

RocketPuppy commented 8 years ago

This alternative structure would probably be similar to FullSession