Andrey Chalkin

Results 65 comments of Andrey Chalkin

I think there's currently no way to do that, PR is welcomed ☺️ Otherwise I can take a look on what I can do later this week or next week

I've started working on this feature, PR already in place #555

Released as [v4.0.0-next.1](https://github.com/L2jLiga/fastify-decorators/releases/tag/v4.0.0-next.1) For upgrade guide see [Migration to v4](https://github.com/L2jLiga/fastify-decorators/blob/v4/docs/Migration%20to%20v4.md) guide - [`fastify-decorators`](https://www.npmjs.com/package/fastify-decorators/v/4.0.0-next.0) - [`@fastify-decorators/simple-di`](https://www.npmjs.com/package/@fastify-decorators/simple-di)

Released as [v3.14.0](https://github.com/L2jLiga/fastify-decorators/releases/tag/v3.14.0). Now feature available in both v3 & b4, closing.

Fix released in [v3.12.0](https://github.com/L2jLiga/fastify-decorators/releases/tag/v3.12.0) will close after fixing in v4

Hi there, This issue happens when CommonJS code tries to require ESM modules as stated in error message, I can guess that you're using `ts-node` package to start application. If...

Can you try to run it with `ts-node src/server.ts` and `node --loader ts-node/esm src/server.ts`? Does it work? I just want to ensure if this issues related or not: https://github.com/wclr/ts-node-dev/issues/212 and...

Hi @cesarvspr It seems I've found your issue and most probably it's related to this one - https://github.com/dividab/tsconfig-paths/issues/189 Can you try to run your code without `tsconfig-paths` please? Upd: in...

Well, finally I've released [4.0.0-next.2](https://github.com/L2jLiga/fastify-decorators/releases/tag/v4.0.0-next.2) which fixes issue with Fastify v4 installed (unfortunately I forgot to publish it to npm when first v4 alpha was released) With this version I've...

About `ts-node` and `ts-node-dev` I think best possible solution now is to use `nodemon` instead (with ts-node or esbuild or swc) nodemon example: https://github.com/comingAlive/typescript-nodemon-top-level-await-example/ nodemon + esbuild: https://www.npmjs.com/package/esbuild-node-tsc ts-node with...