Conversation
* initial type narrowing functionality * type narrow on wildcards * fix typo in tests and add docs * fix typo in test/types/reply.test-d.ts Co-authored-by: Uzlopak <aras.abbasi@googlemail.com> * Fix typo on reply.test-d.ts * renaming and refactoring * fixed failing test * fix broken narrowing on number type statusCodes * fixed type narrow on number type status codes * fix type inferrence breaking without Reply generic --------- Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Bumps [@sinclair/typebox](https://github.com/sinclairzx81/typebox) from 0.28.20 to 0.29.1. - [Commits](sinclairzx81/typebox@0.28.20...0.29.1) --- updated-dependencies: - dependency-name: "@sinclair/typebox" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Added FST_ERR_VALIDATION to errors.d.ts The error code FST_ERR_VALIDATION is used as an error code in lib/context.js * add unit tests, fix FST_ERR_ROUTE_REWRITE_NOT_STR * add typings --------- Co-authored-by: Manuel Spigolon <behemoth89@gmail.com> Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
* Add missing assertion for a test * add address assertion --------- Co-authored-by: Manuel Spigolon <behemoth89@gmail.com> Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
* perf: improve performance of request id generation * use 0 comparison instead of object reference comparison for better performance * optimize * smaller lookup array * remove perf changes, add jsdoc, export as named export and complete unit tests
* improve hooks.validate * Update lib/hooks.js Co-authored-by: Manuel Spigolon <behemoth89@gmail.com> --------- Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
* improve ci-yml * fix wf * fix wf * fix wf * fix wf * use built-in cache option of actions/setup-node
…er()` (#4846) * Add documentation for side-effect when using await in fastify.register() * Apply suggestions from code review Co-authored-by: Frazer Smith <frazer.dev@outlook.com> --------- Co-authored-by: Uzlopak <aras.abbasi@googlemail.com> Co-authored-by: Frazer Smith <frazer.dev@outlook.com>
* remove hook iterator for onRequestAbortHookRunner * curry it * rename stream to payload * early exit with cb instead of next * rename payload to newPayload * change
"FST_ERR_ASYNC_CONSTRAINT" was set to a heading size that gave it a section title and was inconsistent with the rest of the docs on this page, quick and easy 1 character fix
* fix: rework FastifyErrors, ensure documentation completeness * Update lib/errors.js Co-authored-by: KaKa <23028015+climba03003@users.noreply.github.com> * Update test/internals/errors.test.js --------- Co-authored-by: KaKa <23028015+climba03003@users.noreply.github.com>
Co-authored-by: Carlos Fuentes <me@metcoder.dev> Co-authored-by: shaypepper <shay.pe@moonactive.com> Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
[request.aborted](https://nodejs.org/docs/latest-v16.x/api/http.html#requestaborted) has been deprecated since node 16. It seems like [request.destroyed](https://nodejs.org/docs/latest-v16.x/api/http.html#requestdestroyed) should be used instead
* Support IPv6 ::1 in listeningOrigin Signed-off-by: Matteo Collina <hello@matteocollina.com> * Update fastify.js Co-authored-by: KaKa <23028015+climba03003@users.noreply.github.com> --------- Signed-off-by: Matteo Collina <hello@matteocollina.com> Co-authored-by: KaKa <23028015+climba03003@users.noreply.github.com>
Author
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync next-branch with latest changes of the main-branch