Y
Hacker News
new
|
ask
|
show
|
jobs
by
hombre_fatal
1926 days ago
The template tag solution is cute but dangerous if you can accidentally leave off the `SQL` tag and the query still works.
Ideally the system would require you to use the tag and prohibit a plain ol string.
2 comments
hermanradtke
1926 days ago
TypeScript compiler will error on this.
link
thedevelopnik
1926 days ago
It does require you to use the tag.
link