Skip to main content

Module scope

Module scope 

Source
Expand description

Per-request scoping identity carried from middleware to scoped database transactions.

A RequestScope is dumb data: ordered key/value pairs an extension’s middleware populates (for example the requesting user’s organization) and a ConnectionScopeProvider in systemprompt-database later translates into transaction-local Postgres settings for row-level security.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

RequestScope