News for hackers. Stuff that matters.
Re:Show HN: ORM for TypeScript with no query-builder, suppor... by gmac on Thursday September 03, 2020 @11:42AM (#24365111)
My own TypeScript non-ORM, Zapatos, shares much of the same design philosophy (and indeed a sql`...` tagged template function): https://jawj.github.io/zapatos/

Previous discussion: https://news.ycombinator.com/item?id=23273543

Re:Show HN: ORM for TypeScript with no query-builder, suppor... by skrebbel on Thursday September 03, 2020 @03:35PM (#24367867)
Zapatos is amazing. I'd definitely use it if I were writing Node backends, I think its design is wonderful.

Also, I'm impressed by how beautiful and interactive your docs are. How did you do that? The show imports button, the embedded monaco modal.. Did you just code that up yourself just for these docs, or is this "just" some nice documentation template that I'm not aware of? Either way, very nice!

Re:Show HN: ORM for TypeScript with no query-builder, suppor... by gmac on Thursday September 03, 2020 @06:10PM (#24369463)
Thanks. I just coded it up myself[1]. :)

As an educator, I’d say the docs are probably the most important element of a library.

[1] https://github.com/jawj/zapatos-docs

Re:Show HN: ORM for TypeScript with no query-builder, suppor... by ummonk on Thursday September 03, 2020 @10:38PM (#24371212)
Wow this is amazing. Really bridges the last remaining gap to close the type-safety gap from SQL -> TS/Node.JS -> GraphQL -> TS / client code.

Exactly the kind of "use SQL in typescript code with type-safety" non-ORM that I've always wanted.

Re:Show HN: ORM for TypeScript with no query-builder, suppor... by intellix on Thursday September 03, 2020 @01:43PM (#24366556)
thought this looked awesome when I saw it. Was waiting for a little more traction, my project to calm down and perhaps some GQL helpers to appear before jumping on board (not requesting them but just naturally picked up by the community)
Re:Show HN: ORM for TypeScript with no query-builder, suppor... by gmac on Friday September 04, 2020 @05:33AM (#24373321)
Glad to hear it! Presumably GQL is GraphQL, which so far I have let completely pass me by. How would those helpers look, roughly?