#4859·wasp

Provide runtime configuration from spec

Author: infomihoCreated Sep 16, 2026Updated Sep 16, 2026
Labelsfull-stack modules

Because we plan to make the FSM API use a static spec, we won’t be able to configure the FSM at compile time/spec time.

This means that any configuration required by the FSM—such as enabling or disabling specific features—needs to be available at runtime.

mermaid
graph LR
    A[value in .wasp.ts] --> B[Generated SDK code]
    B --> C[FSM runtime code]

To make this convenient for users, we need a way for them to specify the full-stack module configuration options in their .wasp.ts file. These options should then be captured in the generated SDK and made available to the FSM runtime code.