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

Unable to access root level macros in plugins #640

Open
jrnxf opened this issue May 15, 2024 · 0 comments
Open

Unable to access root level macros in plugins #640

jrnxf opened this issue May 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jrnxf
Copy link

jrnxf commented May 15, 2024

What version of Elysia.JS is running?

1.0.20

What platform is your computer?

Darwin 23.2.0 arm64 arm

What steps can reproduce the bug?

The steps for this bug our outlined in this thread. @SaltyAom already patched a fix for usage in groups, but the same patch for plugins feels like the next step given the documentations recommendation to use plugins as a means of cleaning up routes.

What is the expected behavior?

Macros applied at the global level are inherited by plugins

What do you see instead?

Plugins don't have access to the macros

Additional information

No response

@jrnxf jrnxf added the bug Something isn't working label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant