Session support in actions without requiring app/slice-level session config
Open
- Dominant language
- No language data
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
It's possible to enable rack sessions by `use`-ing the middleware directly in your routes.
But actions won't get session support until you configure `config.actions.sessions` inside your app/slice.
I feel like it should be possible to either (a) enable session support always (perhaps it's harmless if not needed) or (b) simplify the config to enable sessions in actions, e.g. `config.actions.sessions = true` if you know you're enabling sessions elsewhere.
Related: #4
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.