-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestfeature requesthelp wantedExtra attention is neededExtra attention is needed
Description
Resolve query parameters to the appropriate model instances. For example, after the implementation, a route like:
router.get("/{userId}", async (req, res) => {
const user = await User.findByPk(req.params.userId);
return user;
});Should be written to the following and achieve the same result:
router.get("/{user}", (req, res) => {
return user;
});Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfeature requesthelp wantedExtra attention is neededExtra attention is needed