Just curious but I read that Prisma 2.0 will depre...
# orm-help
j
Just curious but I read that Prisma 2.0 will deprecate the need for Prisma server (make it just a lib). How is that possible. Or, better question, why wasn't it possible before?
h
We will install a Rust binary in the postinstall step and will programatically run the binary. Thus as it is Rust binary, it will eliminate need of docker. It was not possible before as Prisma 1.0 was written in Scala which requires JVM and it is very hard to package it as a binary. Prisma 1.0 was also born out of GraphCool so this two server architecture was there for some legacy reasons as well. We still value Prisma Server as a powerful tool for enterprise use cases and it will be back soon for that.
p
Is current Prisma branch (1.X) going to have a sort of long-term support? Meaning is it safe to begin new projects now with it or it is better to wait for v.2?
j
@Harshit So my understanding of traditional ORM is that your Object will specify the table and columns that map to its class and fields. So I guess Prisma required a GraphQL server to run in order to generate an ORM solution. I don't understand how programmatically running a Rust binary resolves this. I don't think I understand how Prisma works tbh.