Closed vafrcor closed 6 years ago
I'm not sure I understand the question. Can you expand your explanation?
If you need to pass extra data, you can add url query parameters or extra body parameters (json, etc) that you can parse from res.body
or res.query
(for express)
@tommybananas I think he wants to override the default get method for a resource. As by-default it will return all objects in that model, so he wants to introduce some query to limit results.
@vafrcor I am defining custom routes in my nodejs app for these type of resources.
@vafrcor Milestones
might be of some interests for you.
Milestones or custom routes are probably the best bet here, closing for now
I have custom Hook logic at Sequelize Model and need a custom
options
while creating an instance. see this picture for current Finale controller.