News for hackers. Stuff that matters.
Re:Show HN: Prisma Python – A fully typed ORM for Python by leetrout on Monday February 21, 2022 @01:51PM (#30419270)
A comment from a previous Prisma post

> under the hood @prisma/client was spinning up it's own GraphQL server that it would send requests to in order to generate SQL to send to postgres[1]

So is this the same approach you are taking with the HTTP API?

[1] https://news.ycombinator.com/item?id=26889543

Re:Show HN: Prisma Python – A fully typed ORM for Python by probablyrobert on Monday February 21, 2022 @01:58PM (#30419337)
Yes I am using the same approach however I am working on using native FFI bindings which is what the TypeScript client is using now.

https://github.com/RobertCraigie/prisma-client-py/pull/165

Re:Show HN: Prisma Python – A fully typed ORM for Python by leetrout on Monday February 21, 2022 @03:46PM (#30420395)
That's great.

I think it makes it such an easy onramp to integrate with something by having HTTP based APIs (or really, gRPC, even) even if it is lower performance compared to native libraries.

Looking forward to trying this.