https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28948
--- Comment #14 from Tomás Cohen Arazi <[email protected]> --- Please, keep in mind that the API already has input/output validation, specified in the OpenAPI spec. That's why this dev was originally simple and only included a list of attributes for the 'public' context. Also, this allowed for easy implementation of calculated lists: frameworks telling what item structure to hide? Sysprefs? Also, keep in mind that public and staff are not the only representations we might want for resources: we could have a 'brief' representation to be used in dropdowns (id+name). I mention it, because that's where the simplicity came from. For what is worth, I think we should do use base wq(Koha::Object Koha::Object::AllowList) And have AllowList just read the library's defined lists... I mean not implementing a new AllowList class for each thing -- 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/
