Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Possible to chain multiple middlewares with @Middlewares decorator #1505

Closed
3 of 4 tasks
violette-m opened this issue Nov 7, 2023 · 2 comments · Fixed by #1558
Closed
3 of 4 tasks

Not Possible to chain multiple middlewares with @Middlewares decorator #1505

violette-m opened this issue Nov 7, 2023 · 2 comments · Fixed by #1558

Comments

@violette-m
Copy link

Sorting

  • I'm submitting a ...

    • bug report
    • feature request
    • support request
  • I confirm that I

    • used the search to make sure that a similar issue hasn't already been submit

Expected Behavior

I tryed to chain multiple middleware using this
I got this error : TypeError: m is not a function from my generated routes.
I looked a bit at @middlewares decorator code and they should be able to receive an array of functions, but I can't make it work.

Current Behavior

Possible Solution

Steps to Reproduce

Context (Environment)

Version of the library:
Version of NodeJS:

  • Confirm you were using yarn not npm: [ ]

Detailed Description

Breaking change?

Copy link

github-actions bot commented Nov 7, 2023

Hello there violette-m 👋

Thank you for opening your very first issue in this project.

We will try to get back to you as soon as we can.👀

Copy link

github-actions bot commented Dec 8, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants