Aspect Oriented Programming, AOP, allows to reuse logic across an entire app in a very neat way, decoupling it from the business logic. Kaop-ts bring us decorators in order to apply AOP. This lesson will show you how you can move cache and exception handling out of your business logic using TypeScript and Kaop-ts
Hi, since kaop-ts@3.x you cannot extend from AdvicePool
Ref -> https://github.com/k1r0s/kaop-ts#whats-new-on-30
Metadata -> https://github.com/k1r0s/kaop-ts/blob/master/docs/api.md#metadata
Kaop-ts improve the way he declare advices, now you can just do this:
instead of extend AdvicePool