Yonatan
Yonatan
are you talking about general logging in fastify, or something related to this library fastify-now? Also, can you provide a code example of what you are trying to do right...
You can use the `request.log.error(...)` function You can also use the server instance, but using the `function` keyword for the handler (instead of an arrow function) ```TypeScript export const POST...
Thanks for the PR! I know the `peerDependencies` can cause a lot of pain, why not moving fastify to `devDependencies` instead, I think we use it only for the types?
@dan-online merged and released
I created an experimental typescript decorators: [https://github.com/yonathan06/fastify-ts](https://github.com/yonathan06/fastify-ts) I currently use them in a personal project, so this is very experimental. My inspiration is from Angular (which provides a robust and...
Any updates?
Getting the same issue with `0.1.33` ```bash 5:29:28 PM [vite] Internal server error: Failed to resolve import "@storybook/addon-docs/dist/esm/frameworks/common/config.js" from "../../../../../../../virtual:/@storybook/builder-vite/vite-app.js". Does the file exist? Plugin: vite:import-analysis File: /virtual:/@storybook/builder-vite/vite-app.js 12 |...
yes, version `^6.4.22` in package.json
this is the storybook packages I have currently installed (after fixing the error): ``` "@storybook/addon-actions": "^6.4.22", "@storybook/addon-docs": "^6.4.22", "@storybook/addon-essentials": "^6.4.22", "@storybook/addon-interactions": "^6.4.22", "@storybook/addon-links": "^6.4.22", "@storybook/builder-vite": "^0.1.33", "@storybook/react": "^6.4.22", "@storybook/testing-library": "^0.0.11",...
Here is a typescript version of the function: ```TS export function levenshteinDistance(a: string, b: string) { if (a === b) { return 0; } if (a.length > b.length) { const...