4 ms·
My backend take a 'fields' parameter, I use it mostly in list views. My backend has nested models. I can request the line_items field and get that list along w
by ehutch79 6y ago
My backend take a 'fields' parameter, I use it mostly in list views.
My backend has nested models. I can request the line_items field and get that list along with the root object, submit it back with added fields easily.
- dgorges 6y agoThat sounds pretty much like what Vulcain [1] is doing for you on top of an existing REST API. [1] https://github.com/dunglas/vulcain https://github.com/dunglas/vulcain