Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2361

Re: Can we please remove core_grade_get_grades webservice?

$
0
0
by Tim Hunt.  

Do we have a good deprecation process for web service functions?

If this was a Moodle internal API, we would

  1. Implement the new function / class / whatever API change.
  2. Modify the old functions so that using them causes a warning message.
  3. Announce in the release notes for that Moodle release that the old API is now deprecated.
  4. A few Moodle releases later, remove the old API.
  5. Announce in the release notes for that Moodle release that the old API is now gone.

That is a good system. Can we come up with an equivalent for web service APIs?

The only place I can think of to put the warning message is in the PHP logs on the Moodle server, and they are highly likely to not be seen. However, I hope there is a better option that I have failed to think of.


Viewing all articles
Browse latest Browse all 2361

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>