sampl / firefly

Web app boilerplate for beginners based on Firebase and React 🔥
http://getfirefly.org/
234 stars 42 forks source link

Disallow adding empty posts #28

Closed sampl closed 7 years ago

sampl commented 7 years ago

Probably need it in validation rules--gets a bit messy, but otherwise the db is "wrong" Could do it in form validation too, might need to happen anyway #21 Could do it easily in Post model, but it needs to happen the other two place anyway most likely

sampl commented 7 years ago

Done in validation rules in fc779739f7a86d603d9b0f35d19e8ddbd65a7ce9, errors bubble up to UI via promise catches