[Koha-bugs] [Bug 23893] Add ->new_from_api and ->set_from_api methods to Koha::Object

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 8 15:57:51 CET 2020


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This development introduces
      release notes|                            |generic methods to deal
                   |                            |with API-to-DB attribute
                   |                            |names translations, and
                   |                            |some data transformations
                   |                            |(dates and booleans).
                   |                            |
                   |                            |With
                   |                            |this design we can overload
                   |                            |this methods to handle
                   |                            |specific cases without
                   |                            |repeating the code as we
                   |                            |did on initial
                   |                            |implementations of API
                   |                            |controllers.
                   |                            |
                   |                            |Testing
                   |                            |becomes easier as well.
         QA Contact|testopia at bugs.koha-communit |kyle at bywatersolutions.com
                   |y.org                       |

--- Comment #48 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Thanks, Martin.

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


More information about the Koha-bugs mailing list