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

--- Comment #10 from Tomás Cohen Arazi <[email protected]> ---
(In reply to Agustín Moyano from comment #9)
> Created attachment 96646 [details] [review]
> Bug 24228: (follow-up) Check wether each child or children can('to_api') and
> throw exception otherwise

Agustín, I'm not sure about your follow-up. I think it might be possible that
we want to embed things that are not strictly Koha::Object-derived. I would
prefer to leave it to the controller or the OpenAPI plugin to validate the
result.

Also, there should be tests for the changed behavior.

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