CMPUT301F24napkin / napkinfactory

0 stars 2 forks source link

Abs ur key generation method doesn't work #17

Open antoszko opened 5 hours ago

antoszko commented 5 hours ago

ur setting the key of the next item to be the number of docs currently in the db. If you remove any but the last document and then try to create one again, you will overwrite data

antoszko commented 5 hours ago

@Deenknight

Deenknight commented 3 hours ago

Ah the code for createEventFragment was mostly just to demonstrate the db working. It will have to be changed in the final product because the Event model will need all fields