Open oliverbarnes opened 7 years ago
Instead of POST /supports and DELETE /proposals/:id/support, let's use a PATCH /proposals/:id updating the supported-by-me proposal attribute, handling the support entity creation/deletion behind the scenes
POST /supports
DELETE /proposals/:id/support
PATCH /proposals/:id
supported-by-me
support
Instead of
POST /supports
andDELETE /proposals/:id/support
, let's use aPATCH /proposals/:id
updating thesupported-by-me
proposal attribute, handling thesupport
entity creation/deletion behind the scenes