https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42663

--- Comment #4 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to