https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23770
--- Comment #18 from Tomás Cohen Arazi <[email protected]> --- (In reply to Jonathan Druart from comment #17) > Looks great to me! > > * Can we now remove ->_to_api (and so $to_api_mappinp) from > Koha/REST/V1/Cities.pm we still can't. > * What about ->_to_model (and so $to_model_mapping)? I was thinking of: Koha::Object->new_from_api Koha::Object->update_from_api > What's next? The next step is to file a bug in which we do the same for the other controllers. And then another one for implementing those two methods I propose. And then another one depending on these, for changing Koha::REST::Plugins::Objects so it uses the internal methods instead of expecting the to_api and to_model params. -- 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/
