Open dcsan opened 5 years ago
example, adding a 'vegetarian' field
note you can see the two places to update a mongoose Schema and the TS Interface when modifying a model in this commit:
https://github.com/dcsan/ts-mern/commit/fc8d4bf7fbf53fc489e4b6781320e1bcad7e79b5
https://www.youtube.com/watch?v=Z_tmYFlrPnI&feature=youtu.be
example, adding a 'vegetarian' field