CampusMadridProjects / directory-backend

Campus Directory Backend. It uses Cloud Functions for Firebase as entry point, and stores data in Firestore.
MIT License
1 stars 0 forks source link

Ensure stored/returned entities comply with model #11

Open CodingCarlos opened 5 years ago

CodingCarlos commented 5 years ago

To avoid empty, inclomplete or invalid object in responses.

CodingCarlos commented 5 years ago

Would be a great idea, instead of doing manually the model validation, use a library to do that (i.e. modelate), so we don't have to worry about this.