Integrations
Full working integration examples live in the Fastify CQRS example app.
The important part is not Fastify itself. The important part is the model:
- decorators describe intent
- initializers wire runtime behavior
- integrations stay declarative at the module/controller level
- the actual implementation still uses the full native API of the underlying technology
This means you can build almost any integration you want in a declarative way while still using the native underlying framework or library directly.
The only real downside is that you write a bit more manual integration code yourself. That tradeoff is usually worth it because you avoid adding framework-specific packages just to get one integration style.
