joshprzybyszewski / chringo

A super secret project
0 stars 0 forks source link

Add a firebase model for sessions #13

Open joshprzybyszewski opened 5 years ago

joshprzybyszewski commented 5 years ago

What data do we need in the firebase model?

For firebase supported data types: https://firebase.google.com/docs/firestore/manage-data/data-types

cszczepaniak commented 5 years ago

Is it safer to use an enum for game style?

joshprzybyszewski commented 5 years ago

It would be safer to use an enum, but per-the-link firebase doesn't define enums, so I think a string is the most clear alternative.