Identity · rule
type.auth_sessions_context
Session, API token or service key operation outside an action, or without its sign-in method.
Area 8, Identity; not declinable; the next step is usually the agent's.
principal { user: { subject: Member.handle }}authentication { browser_session: { cookie: "session" }}type Handle = Text { max_length: 40}entity Member { id: Uuid handle: Handle { unique: true }}test "signing out ends the session" { sessions.end()}
error: A test can't call `sessions.end` --> main.jadpo:25:5 |25 | sessions.end() | ^^^^^^^^^^^^ outside an action reason: `sessions.end` ends the session of the request a route answers, so only an action calls it. next: Call `sessions.end` in the action a sign-in or sign-out route runs (agent) rule: type.auth_sessions_context help: https://jadpo.dev/docs/errors/type.auth_sessions_contextcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/type.auth_sessions_context.md.Built from Jadpo main at a707efb.