debugging
Makes a call observable — logging, serializing, inspecting context.
| Name | Category | Description |
|---|---|---|
debug | hooks | Logs the current hook context to the console for debugging purposes. Displays timestamp, service path, method, type, id, data, query, result, and any additional param fields you specify. |
contextToJson | utils | Converts a FeathersJS HookContext to a plain JSON object by calling |
stringifyParams | utils | Serializes Feathers Two normalizations make semantically-equal params produce the same string:
Serialization is crash-safe and never throws on values that leak through a
params whitelist: circular references become |
recordHooks | testing | Record every call that passes through a service or an application, so a test can assert what was requested — and how often — without standing up a spy per method. Pass an app to record all of its services, or a single service to record just
that one; The record is indexed by hook type and method — By default the live |
See all tags for the full vocabulary.
