News for hackers. Stuff that matters.
Re:The melting pot of JavaScript (2017) by tmerse on Tuesday January 08, 2019 @12:45AM (#18853524)
You should have a look at typeorm [1]. Typescript ORM with decorator support.

1: http://typeorm.io/

Re:The melting pot of JavaScript (2017) by stickfigure on Tuesday January 08, 2019 @01:24AM (#18853702)
That's cool, and will keep it in mind for the next time I work on a node project.

Looks like it works by having the typescript compiler generate experimental annotations in the output javascript, and reading it using a polyfill for the proposed ES7 reflection api. On one hand, yeay looks like proper runtime reflection is coming! On the other hand, it doesn't sound fully baked yet... <insert here a general grumble about how everything in the JS ecosystem is in this state>