3 ms·
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/
by gmac 6y ago
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/ https://jawj.github.io/zapatos/
Previous discussion: https://news.ycombinator.com/item?id=23273543 https://news.ycombinator.com/item?id=23273543
- intellix 6y agothought 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)
- gmac 6y agoGlad to hear it! Presumably GQL is GraphQL, which so far I have let completely pass me by. How would those helpers look, roughly?
- skrebbel 6y agoZapatos 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!
- gmac 6y agoThanks. 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 https://github.com/jawj/zapatos-docs
- ummonk 6y agoWow 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.