4 ms·
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 genera
by leetrout 5y ago
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 https://news.ycombinator.com/item?id=26889543
- probablyrobert 5y agoYes 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 https://github.com/RobertCraigie/prisma-client-py/pull/165
- leetrout 5y agoThat'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.