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
First of all many thanks for the excellent session handling package.
Now that Iron Session no longer attaches itself to the request, is there any reason for why I should not do it myself as middleware. Any reason you can think of for now or in the future that would make it a bad idea.
Regards
Rune
The text was updated successfully, but these errors were encountered:
Hey there, it's not a bad idea, it's just preference (and there's no good or bad here: it's really just a preference).
If you want to attach it to req.session then you should do it. We won't be breaking that in the future.
We've decided not to do it automatically as it makes the typing extremely hard and the library less flexible in the end.
First of all many thanks for the excellent session handling package.
Now that Iron Session no longer attaches itself to the request, is there any reason for why I should not do it myself as middleware. Any reason you can think of for now or in the future that would make it a bad idea.
Regards
Rune
The text was updated successfully, but these errors were encountered: