feat: game lobby service

This commit is contained in:
Ilia Denisov
2026-04-25 23:20:55 +02:00
committed by GitHub
parent 32dc29359a
commit 48b0056b49
336 changed files with 57074 additions and 1418 deletions
+6 -5
View File
@@ -66,15 +66,16 @@ Rules:
### Profile update
`UpdateMyProfile` changes only `race_name`.
`UpdateMyProfile` changes only `display_name`.
Rules:
- preserve stored casing on success
- enforce canonical reservation uniqueness
- reject conflicts as `409 conflict`
- validate the submitted value through `pkg/util/string.go:ValidateTypeName`
- an empty value is accepted and resets the stored display name
- uniqueness is not enforced; multiple users may share the same value
- `user_name` is immutable and cannot be updated through this operation
- reject writes while `profile_update_block` is active
- return current aggregate on no-op rename
- return the current aggregate on no-op updates
### Settings update