You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
this is just to leave a note to everyone who's looking for this info. At the current state this module is not compatible with express 5, because they changed the req.query object in a getter, so this library is not able to add page and limit to it.
Cheers.
The text was updated successfully, but these errors were encountered:
I would love to contribute here. Following is what I am thinking.
As req.query will be a getter from express 5 onwards, we will not be able to set anything in it. I will use req.paginate when we need to set page and limit after validation and sanitisation.
Please let me know if this approach seems good. I wanted to discuss first, before implementation as this might be a breaking change. Anyways, the package itself will become incompatible after express 5 release, so a breaking change might be the only way out. Please let me know your opinion.
Hi everyone,
this is just to leave a note to everyone who's looking for this info. At the current state this module is not compatible with express 5, because they changed the
req.query
object in a getter, so this library is not able to addpage
andlimit
to it.Cheers.
The text was updated successfully, but these errors were encountered: