Re:Why and how to use service injection in Node.js
by gkop on Sunday October 31, 2021 @11:31AM
(#29057677)
Do you get “intellisense” on the injected services?
[ Parent
| on HN ]
Re:Why and how to use service injection in Node.js
by yasserf on Monday November 01, 2021 @02:13AM
(#29063514)
Yeah due to the Services and CoreServices functions being completely typed we have intellisense on everything in vramework. Down to the database tables and column names in queries (when using typed-postgres or typed-mysql libraries)
Re:Why and how to use service injection in Node.js
by komon on Sunday October 31, 2021 @01:01PM
(#29058389)
As long as the service container's members are typed you should
Re:Why and how to use service injection in Node.js
by gkop on Sunday October 31, 2021 @01:24PM
(#29058599)
Thanks. I ask because at work we use this [0] “legacy” Node DI framework which utterly and completely breaks intellisense.