https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36369 --- Comment #16 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #14)
(In reply to Tomás Cohen Arazi from comment #13)
(In reply to Jonathan Druart from comment #11)
2. So far we have decided to provide what is implemented/used. With this we will offer in the view usage of routes that may not be implemented yet.
Am I right to interpret what you say like: 'if the Vue page doesn't allow deleting the resource, we shouldn't implement a delete() method'?
It feels to me that this shouldn't be an issue... and would allow people to reuse this more?
Yes it is what I meant for "used". And I agree it is not really a problem. However it can be a problem for "implemented": If the endpoint does not exist in the controller should we provide it in the api-client? It does not make sense to me.
Maybe we can just code an override for not implemented verbs/endpoints that throws an exception. So devs don't get confused? I'm willing to be back to this work/discussion. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.