Macro does not work with resolve function correctly #996
Unanswered
boichukVitalii
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Following the doc https://elysiajs.com/patterns/macro.html#resolve
My code:
So the problem is that resolve function return overrides get handler return and instead of "hello" string I get { user: "Pardofelis"} response
Beta Was this translation helpful? Give feedback.
All reactions