feat: NCS-37 Quarkus integration #35

Merged
Janis merged 16 commits from feat/NCS-37-rework into main 2026-04-21 12:35:21 +02:00
Showing only changes of commit 22beaa3fda - Show all commits
@@ -125,8 +125,10 @@ class GameResource:
private def ok(body: AnyRef): Response = Response.ok(body).build()
private def created(body: AnyRef): Response = Response.status(Response.Status.CREATED).entity(body).build()
// scalafix:off DisableSyntax.throw
private def assertGameNotOver(entry: GameEntry): Unit =
if entry.engine.context.result.isDefined then throw BadRequestException("GAME_OVER", "Game is already over")
// scalafix:on DisableSyntax.throw
// ── endpoints ────────────────────────────────────────────────────────────
// scalafix:off DisableSyntax.throw