You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect middleware to run for set and delete commands, but in fact I get this behavior for all commands. How can I concretize the execution of the middleware layer?
There's currently no way to make Use only work for certain commands of the same level. Middlewares will always run before the command handler regardless of when they're added.
To do something like this, there should be a Group() function like go-chi:
I expect middleware to run for
set
anddelete
commands, but in fact I get this behavior for all commands. How can I concretize the execution of the middleware layer?The text was updated successfully, but these errors were encountered: