Revature-2106RCN-Team-3 / Project_One

0 stars 3 forks source link

Messages CRUD #26

Closed Brandon-Kirsch closed 3 years ago

Brandon-Kirsch commented 3 years ago

Adds fairly basic CRUD operations to the Messages route. Lacking batch delete and parent-related post routes

Yes the delete can fail out, if no ID is supplied. This is because (in the index), parent ID and message ID are to be passed in the URL. If a batch delete is added, the difference between one and the other can be a mere conditional, so this route made sense to me.