implementing a custom decorator which does not return a value #1265
-
Hey folks, I'm wondering how can I implement a decorator that is handling the authorization part of the application without returning any value inside the decorator. First I started to use the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I have hopefully found a way ;) |
Beta Was this translation helpful? Give feedback.
-
Parameter decorator is for returning values. Method decorator is for running action before/after the resolver via the middlewares. |
Beta Was this translation helpful? Give feedback.
Parameter decorator is for returning values. Method decorator is for running action before/after the resolver via the middlewares.