Session support in actions without requiring app/slice-level session config
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- backend
Research direction
Start by reviewing how Rack sessions are enabled in routes and how config.actions.sessions is handled in the app or slice, then read related issue #4. Done requires a decided approach for enabling session support in actions without redundant configuration, with the behavior and configuration documented and covered by appropriate tests.
Written by the indexing model from the issue text.
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
- Dominant language
- No language data
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hanami/roadmap
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
hanami/hanami-action#536 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Sienna-Platform/PowerNetworkMatrices.jl#446 ·
Maintainers usually reply within 1 day
-
compatibility difficulty:easy prio:low
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
NatronGitHub/openfx-misc#385 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100