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

--- Comment #8 from Jonathan Druart <[email protected]> ---
I am certainly missing the context here, but this feels like unnecessary
overhead.

You are basically adding a Koha::Object base class for JSON decode and encode
calls. That's all.
The exception is there only to raise a Koha exception, but having a JSON
exception is also fine. The MissingParameter exceptions are not needed either
IMO, you will get a perl error if you are calling the method with missing
mandatory parameter.

If we really need these methods, and that I am missing the root idea and
context of these patches, can you clarify why a base class instead of a regular
class?

-- 
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