Context
Learn how to add custom properties to the app context accessible across all procedures.
The app context in Kottster is designed to share of common information across your app's procedures.
By default, the context includes:
stage
:"production"
or"development"
.user
: An object representing the current user.
Interface of an app context: https://github.com/kottster/kottster/blob/main/packages/common/lib/models/appContext.model.ts
Usage
Example if using the context in procedures
Last updated