Skip to main content

VOLATILE_CLASSES

Constant VOLATILE_CLASSES 

Source
pub const VOLATILE_CLASSES: [&str; 8];
Expand description

Classes held in memory rather than loaded from _SCHEMA (volatileClasses, SchemaController.js:178-187).

The two lists overlap but neither contains the other, and the difference is the point.

  • _Hooks, _GlobalConfig and _GraphQLConfig are volatile but not system classes, so classNameIsValid refuses them: a client cannot address /classes/_Hooks. They are reached only through their own routers.
  • _User, _Installation, _Role, _Session and _Product are system but not volatile: they are real, persisted, client-addressable classes.
  • _JobStatus, _PushStatus, _JobSchedule, _Audience and _Idempotency are both.

SchemaData skips a volatile class when reading _SCHEMA and injects a synthetic entry instead (SchemaController.js:566-568, :596-614), so a stored document for one of these is ignored rather than merged.