UseRequestContext decorator order #148
Answered
by
B4nan
lucasgbsampaio-me
asked this question in
Q&A
-
Why |
Beta Was this translation helpful? Give feedback.
Answered by
B4nan
Oct 21, 2023
Replies: 1 comment 2 replies
-
The method always creates new context, that's why you shouldn't nest those, its not about order. Or what do you mean, other decorators? You can combine it anyway you want, its just a common source of bugs and having it separately makes things clear. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah it should, but I think there were some cases where the order of decorators mattered. I don't have any examples, if it works for you, it works for you :] (and if it doesn't you would get a validation error for using the global context)