-
Notifications
You must be signed in to change notification settings - Fork 516
Description
What is the URL of the page?
https://moodledev.io/docs/5.0/apis/subsystems/external/writing-a-service
https://moodledev.io/docs/5.0/apis/subsystems/external/functions
https://moodledev.io/docs/5.0/apis/subsystems/external/security
What is the issue with this page?
Hey,
I was wondering why the documentation 'forces' developers to use validate_parameters inside an external_api execute function, when the same validation is already done by the calling external_api::call_external_function in line 228, and couldn't find an answer anywhere.
In case there is no reason, I would be happy to make a patch deleting those sections (and really happy not needing to write those - in my eyes a bit ugly - lines anymore).
Maybe @andrewnicols might be the right person to say something about that :)
Thank you very much,
Justus
Are you able to provide a patch for this?
None