Skip to content

5.2.0 pre2

Pre-release
Pre-release

Choose a tag to compare

@claasd claasd released this 11 Apr 11:35
· 18 commits to main since this release
  • You can now use caching handlers instead of result handler. Set useCaching to true and register a caching 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 operation 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.