NOTWENNODE
NOTWEN RESOURCENotwen Inventorynot_inventory
DOC SECTION04 / 07

notwen_inventory · Configuration

Configuration

Configuration should be explicit and boring for Notwen Inventory.

Boundary note

Inventory consumers should use the Notwen inventory contract instead of importing implementation details everywhere.

01

Environment

Keep credentials and specific to the environment values outside public documentation and source examples.

02

Adapters

Select framework or service adapters in one place rather than scattering checks through gameplay code.

03

Feature flags

Optional features should be disabled cleanly when their integration is not present.

configuration principlepublic example
Config = {
  Adapter = "auto",
  Debug = false,
  Optional = {}
}