[Koha-bugs] [Bug 29746] Add a handy Koha::Result::Boolean class

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 3 19:38:09 CET 2022


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

--- Comment #14 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #11)
> I don't think "Koha::Result::Boolean" is good. What is then a Koha::Result?

I thought of writing Koha::Result as a generic class with the messages bit, and
then Koha::Result::Boolean, Koha::Result::Integer, inherit from it.

Are you willing to submit a follow-up renaming it to Koha::Result or similar?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list