DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
712 stars 250 forks source link

Shadowing: use DTO's #2331

Closed nickygerritsen closed 5 months ago

nickygerritsen commented 6 months ago

This should have (almost) no functional changes, but it uses DTO's for reading from the event feed, making it that we can get rid of a lot of array shapes and that we get added type safety.

I did add the provider object to the API root endpoint, so we can reuse it here and added some small improvements, see the separate commits.

nickygerritsen commented 6 months ago

@vmcj found an issue with legacy delete events. I will fix that but before doing that add tests for some events so we know they are parsed correctly.