Replies: 2 comments
-
Did you already try it?
Source: https://nestjs-telegraf.vercel.app/getting-updates PS: I did a test using the "session()" middleware and it worked as expected. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@felinto-dev Hello Thank you for answer. I see how i can fix my problem with your way. But for this one, it will be complicated to use service methods. Maybe it's better to add decorators for Just for now we a little bit limited |
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
-
Hello
I found, that we have only one way of using middlewares
stage.middleware() // register stage
registerUpdates() // register updates (after stage)
But, there is no way to setup @use, which will call before the stage. Or @StageUse - to call use on
stage
.I can create a PR, but i need to understand, which names of decorators to use?
Beta Was this translation helpful? Give feedback.
All reactions