Here's how to use this package without nestjs #868
samislam
started this conversation in
Show and tell
Replies: 1 comment
-
I think it's similar to things proposed by others that boil down to exposing the functionality of the This is certainly something we are interested in :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was able to get this package to work with expressjs outside of nestjs by creating a new middleware called paginateQueryMw (I've just copied and tweaked a little bit of higher level stuff by the help of this file):
And I used it in my routes:
The only thing that I've found in this package rely on nestjs features is this file (src/decorator.ts) which is the
@Paginate
decorator.Let me know what you think. 🤔
Beta Was this translation helpful? Give feedback.
All reactions