osu-tournament-rating / otr-api

API powering osu! Tournament Rating
https://otr.stagec.xyz/
GNU General Public License v3.0
8 stars 5 forks source link

Add `MatchAdminNoteRepository`, `MatchAdminNoteDTO` and update `MatchDTO` #426

Closed hburn7 closed 2 months ago

hburn7 commented 2 months ago

Depends on #425

Adds MatchAdminNoteRepository, MatchAdminNoteDTO and updates MatchDTO to include a nullable collection of admin notes.

@myssto, is it safe to use opt.Ignore() for this in the MapperProfile? I think we need to map this manually if we do include a UserDTO inside of the MatchAdminNoteDTO. Let me know your thoughts on all of that though.

hburn7 commented 2 months ago

Closing as we need to make these repositories generic.