-
Let's say I have a list function like this:
And now, I need to add a header with 'X-total-Count'. How would I approach this using a decorator? For example, I currently use the following:
This is a workaround and it works as aspected, but could I use it with a decorator? The only thing I can think of is the following:
Is this just not possbile with decorators? Let me know, thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
ggurkal
Jan 16, 2023
Replies: 1 comment
-
Hi @fendyk Unfortunately, this is not possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ggurkal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @fendyk
Unfortunately, this is not possible.