Hi
I noticed in the latest version of moodle (3.5.3+ (Build: 20181204) 3.6.1+ (Build: 20181220)) a change in terms of how the web-service API is working.
I am talking about parameter validation. In the past when calling a web-service (core or custom build) with a missing parameter an error was returned right away for the missing parameter without the need of custom validation. It seems that now we have to build our custom validations. I am not saying that is bad or good, I am just wondering if anyone has additional information on this.
For me it seems a little bit strange specially in terms of using the "VALUE_OPTIONAL" all over the place for moodle core web-services. What is the purpose now for "VALUE_OPTIONAL" parameter if the validation is not done anyway?
Let me know what you think.
Regards