You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can now use caching handlers instead of result handler. Set useCaching to true and register a cacing handler using AddCaffoaCachingHandler. The default implementation does no caching and delegates everything to the result handler.
You can now define two different functions and have them route to the same implementation. Use x-caffoa-alias on an function and point it to a different oeration id.
the functions must have the same signatures
the functions must be in the same tags if splitByTag is set to true
This is useful when you want to have the same function available with different paths, or when using it tohether with specialized result handlers.
new option perFunctionAccessCheck will create for each operation an additional {Name}CheckAccess method in the interface. This method can be implemented be used to perform pre-execution checks and can additionally change the data of the payload. The method is executed before caching is performed.