symfony-cmf/resource

Support saving resource payloads?

dantleech opened this issue · 1 comments

I am currently writing a CRUD which accepts the resource repository and path as request parameters.

/{repository}/{path}/edit

A form is then obtained from the ether for the (CmfResource) payload. When the form is submitted the resource payload needs to be updated.

I am currently doing this throguh a separate "agent" system (currently only concerned with save, as finding is taken care of by this component).

  • Adding a save/savePayload method for a ResourceRepository would be quite trivial at this layer

I am just wondering if it is a good idea or if it would be a can of worms for some reason.