Make Redirect extendable #5066
Closed
FlorianV85
started this conversation in
Ideas
Replies: 1 comment
-
|
Its Macroable now. https://github.com/adonisjs/http-server/blob/8.x/src/redirect.ts#L51 |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I was trying to extend HttpRedirect, but I realized that the class is not Macroable, unlike the others.
Is this an intentional design decision— extending Redirect isn't recommended? Or adding this would be reasonable?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions