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
One of the things that we are missing coming from Iron is the ability to set middleware on a per resource level. For example, we have Authenticated middleware that we'd like to set only on the authenticated resources. Currently, actix-web does not allow this, so we have to either not use middleware for auth, or try to hack around in less than elegant ways. It would be great to have this ability, or some other supported pattern.
The text was updated successfully, but these errors were encountered:
Thanks @fafhrd91 .. apologies for missing the resource level middleware in the doc. I'm trying this out, unfortunately running into another blocking issue that I will post separately.
One of the things that we are missing coming from Iron is the ability to set middleware on a per resource level. For example, we have Authenticated middleware that we'd like to set only on the authenticated resources. Currently, actix-web does not allow this, so we have to either not use middleware for auth, or try to hack around in less than elegant ways. It would be great to have this ability, or some other supported pattern.
The text was updated successfully, but these errors were encountered: