Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to latest asyncforge #11

Merged
merged 8 commits into from
May 21, 2024
Merged

Upgrade to latest asyncforge #11

merged 8 commits into from
May 21, 2024

Conversation

mcollina
Copy link
Owner

No description provided.

Signed-off-by: Matteo Collina <[email protected]>
@mcollina
Copy link
Owner Author

Must be updated once https://github.com/mcollina/asyncforge/pull/5/files lands

Signed-off-by: Matteo Collina <[email protected]>
@mcollina mcollina marked this pull request as ready for review May 21, 2024 13:46
mcollina added 3 commits May 21, 2024 15:47
Signed-off-by: Matteo Collina <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
@mcollina mcollina changed the title Remove the use of enterWith Upgrade to latest asyncforge May 21, 2024
mcollina added 2 commits May 21, 2024 16:28
Signed-off-by: Matteo Collina <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
@@ -8,7 +8,7 @@ import {

declare module "fastify" {
interface FastifyInstance {
enterWith: () => void;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not remove the enterWith type, is still there


// app
expectAssignable<FastifyInstance>(fastifyInstance);
expectAssignable<FastifyInstance>(app());
expectType<void>(app().enterWith());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As above, we should be able access the enterWith decorator from TypeScript

Signed-off-by: Matteo Collina <[email protected]>
@mcollina mcollina merged commit d0a94e7 into main May 21, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants