@fougere/decorators
v0.6.0-alpha.0
Published
Configuration sugar (@config) — declarative, never hidden runtime.
Maintainers
Readme
@fougere/decorators
The configuration sugar
@expose— a decorator states a fact; it never changes the runtime in a non-obvious way. On a class it marks a handler as served; on a method it marks one operation.isExposed(cls)andgetExposedMethods(cls)read what was stated.
Everything it says can be said in frond.config.ts instead, which is why nothing in
this repository imports it.
Installation
pnpm add @fougere/decoratorsPart of Fougere — one schema, a gradient from monolith to distributed, the same user code. Reference documentation: the site (en/fr).
