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
fix: prevent crash when query params have conflicting dot-notation ke…
…ys (#2958)
fix: return undefined from expand() when a path segment conflicts with a primitive
Co-authored-by: Michael Solomon <[email protected]>
fix: repair content-length headers for reconstituted JSON payloads (#……2925)
When recording JSON responses with nockback, we don't preserve the formatting,
but we do keep the content-length. This means the content-length header may not
match the reconstituted JSON payload.
With this change, we recalculate the content-length and update the response
header to match.
---------
Co-authored-by: Michael Solomon <[email protected]>
feat: add no match reasons (#2903)
Experimental: The structure and format of the detailed mismatch information may change in future versions as we gather user feedback and refine the API. The feature itself is stable and ready for use and we're seeking community input on the API design before marking it stable.
fix: Use Error objects instead of plain objects with replyWithError() (……#2900)
* docs: replyWithError(): Use Error objects instead of plain objects when mimicking Node.js errors
* types, test: Use Error objects instead of plain objects with replyWithError()
* Fix style
* Enable test for .replyWithError with an Error object, rephrase test descriptions
---------
Co-authored-by: Michael Solomon <[email protected]>