Guys, I have a question, whats the difference betw...
# orm-help
b
Guys, I have a question, whats the difference between apollo stack and prisma?
a
Apollo stack is a set of client and server libraries to help ease the use of graphql while prisma is a backend framework and engine to help write graphql servers even quicker
a
Prisma is more related to a database (or data store) and putting graphql in front of that.
n
@Arnab You interact with the database through prisma bindings is that correct. The idea of including a database makes sense to me. When I was trying to learn REST with sql, you had to hack together something by yourself. The idea of a web service api it is to perform a CRUD operation over HTTP. It would be nice if apollo docs could mention how to set up a database like mysql or mongodb and writing the sql/nosql
a
It doesn't use SQL directly, but uses Sequelize to query
👍 1
b
Cool
n
This guide shows an easier why to interact with database. https://marmelab.com/blog/2017/09/03/dive-into-graphql.html
Prisma themselves have a guide on how to use mongodb https://github.com/prismagraphql/graphql-yoga/tree/master/examples/mongodb
a
@Nick:
GraphQL offers backward & forward compatibility, which means no breaking changes, ever.
This is simply not true though. GraphQL does no such thing. Developers might develop their GraphQL APIs to do this but I can simply take away a field and break a client without any problem at all.