Skip to content

More debugging output

Pre-release
Pre-release

Choose a tag to compare

@hlship hlship released this 22 Jul 00:36

This release updates a few dependencies, and adds additional debugging inside the io.aviso.rook.dispatcher namespace:

  • with debug enabled, there is a message identifying how each incoming request is matched to a function
  • with trace enabled, there is a message (at startup) identifying the merged metadata for each resource handler function

The merged metadata is the merge of the function's metadata with the containing namespace's. An attempt is made to eliminate common keys (such as :doc, :line, etc.) so that it's just the custom metadata provided on the function itself (or inherited from the namespace).

This extra debugging is very handy for diagnosing issues such as "is it invoking my handler?" or "why is my middleware not getting invoked?".

No issues were closed in this release.