Waynesbrain

Results 33 comments of Waynesbrain

One related problem that I'm having is that using `--watch-path` causes node to [turn off watching of required or imported modules](https://nodejs.org/api/cli.html#--watch-path) even when used in combination with `--watch`. IMO it...

I like the way [node-pg](https://github.com/brianc/node-pg-types/blob/master/lib/textParsers.js#L67) just returns a `string` and then they let you [set a parser](https://github.com/brianc/node-pg-types?tab=readme-ov-file#use) if you want to convert to number everywhere. _[EDIT]_ **Another workaround** For id...

+1 for typebox support. You can see some differences it has with zod in the comments linked here - https://github.com/colinhacks/zod/issues/2482 A typebox integration would also be preferable for anyone building...

After I upgraded to `v0.28.2` I started getting errors with stuff like this that was previously working in `^0.27.6`. I don't understand why I have to do `table as any`...

Thanks @igalklebanov I did read those release notes twice after it broke my software. This seems exactly related to this issue to me. No problemo - I think I'm moving...

Same problem here. It looks like a bug wherein whenever it sees a `SET` statement it wrongly assumes that it's inside of an `UPDATE` and it increases the indent for...

Here's a workaround that is working everywhere I tried it so far for me. Put a `--` on the line before the clause with your `SET` statement. It's arguably less...

I'm not sure if this is related but I cannot get any TypeScript autocompletes for `fastifyInstance.websocketServer` even though TypeScript knows the type `WebSocket.Server`... ![image](https://github.com/user-attachments/assets/0cfd6b58-b199-4b92-8911-1d26f31d17c4) (No autocomplete is shown when I...

I worked around my own issue with module augmentation and a new decorator... ```ts declare module "fastify" { export interface FastifyInstance { get wss(): import("ws").WebSocketServer; } } fastifyInstance.decorate("wss", { getter()...

The new menu is not a very usable menu because you have to click to navigate it. Menus in desktop programs should fly with the speed of my mouse. If...