21 May
2026
21 May
'26
2:52 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42663 --- Comment #4 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #0)
Discussion from bug 41892 suggested that the new module Koha::Context should have an Object-oriented interface.
What you've written is mostly what I had in mind. 1) Does this: ```perl $Koha::Middleware::Context::psgi_env->{'koha.context'}; ``` live for a request lifecycle? Is that how it works? 2) I expected to see some `state` to help reusing the instantiated context object on CGI [1] Nice job. This is the way! [1] https://perldoc.perl.org/functions/state -- You are receiving this mail because: You are watching all bug changes.