Live data from Hacker News

Prisma – An open-source GraphQL API layer for your database

blog.graph.cool

21–30 of 36 posts

Re: Prisma – An open-source GraphQL API layer for your database

#21

Huge fan and user of Graphcool the BaaS! My question concerns permissions. I thought Graphcool did a phenomenal job of permission/authorization. The tutorials seem to kick authentication to the application layer. That seems appropriate. I think one of GraphQL's pain points is lack of a permissions pattern. It's typically hand rolled at the field / resolver level, leaving a lot of messy code. Will permissions be a par…

Thank you so much for putting your trust in Graphcool!

The Graphcool Permission system is super interesting because it ads a surprising amount of expressive power to a declarative permission system. We actually brought over the idea to prisma-binding https://www.npmjs.com/package/prisma-binding by including the `exists` query. For now you have to manually perform the check in resolvers, so it is not a complete substitute.

Speaking of permissions in Prisma in general. For now it includes a fairly primitive token based system: You either have full access or no access at all. In the future we will add more fine-grained grants so you can give some users read access to specific types while preventing data mutations for example. The details are still being worked out, and this system will not be as flexible as Permission Queries in Graphcool Framework.

Re: Prisma – An open-source GraphQL API layer for your database

#22
post #11

I've been using graphcool (0.1) for quite some time, on a paid plan. I feel so lost with so many changes lately, graphcool 1.0, now prisma, first it was a baas, then open sourced, then only a graphql database, etc. My question are (and I totally thank you guys for the great tool you created) #1 how will you profit from it? I need to make sure we invest in a tool that will be supported. #2, how do I migrate? I underst…

Thanks mrbarletta! Let me try to clear things up :-) The Graphcool Framework is a all-in-one framework that combines a GraphQL query engine (now called Prisma), serverless functions and managed hosting (Graphcool Cloud). Prisma is a major rewrite of the query engine. You can think of Prisma as the query engine powering the Graphcool Framework. Today Prisma can be used stand alone as a GraphQL database layer in combin…

Could you please address #1 how will you profit from it?

Re: Prisma – An open-source GraphQL API layer for your database

#23
Graphcool is awesome. I think you guys made the right choice moving to a code-first, open-source platform.

Obviously you still need to make money. Besides hosting and automatic backups, how will you monetize? What are your plans for Graphcool Enterprise on-premise?

Re: Prisma – An open-source GraphQL API layer for your database

#24
I tried to use graph.cool as my first graphql project, everything was a breeze, except:

* I couldn't for the life of me find out how to implement user auth. * The json fields are sooo small, it's a huge no-go for developers (like me) who are used to postgres's amazing json support.

I ended up just using neelance's Go lib and postgres.

Re: Prisma – An open-source GraphQL API layer for your database

#27
post #11

Earlier quoted context omitted.

Thanks mrbarletta! Let me try to clear things up :-) The Graphcool Framework is a all-in-one framework that combines a GraphQL query engine (now called Prisma), serverless functions and managed hosting (Graphcool Cloud). Prisma is a major rewrite of the query engine. You can think of Prisma as the query engine powering the Graphcool Framework. Today Prisma can be used stand alone as a GraphQL database layer in combin…

Could you please address #1 how will you profit from it?

> Later we will change the Graphcool Framework to use Prisma as the query engine.

Which includes integrating it into their BaaS/PaaS platform, I imagine.

Re: Prisma – An open-source GraphQL API layer for your database

#28

Would like to hear compare/contrast with https://www.graphile.org

PostGraphile is a super cool project that was on hn a few days ago: https://news.ycombinator.com/item?id=16150663

See my comment higher up about the main difference :-)

Re: Prisma – An open-source GraphQL API layer for your database

#30

I've been using graphcool (0.1) for quite some time, on a paid plan. I feel so lost with so many changes lately, graphcool 1.0, now prisma, first it was a baas, then open sourced, then only a graphql database, etc. My question are (and I totally thank you guys for the great tool you created) #1 how will you profit from it? I need to make sure we invest in a tool that will be supported. #2, how do I migrate? I underst…

I'm also interested in #1!

@hobofan Prisma will find its way into our Cloud offering over time. I can't commit to a timeline yet

@LawJolla et al - We have seen tremendous growth in our Cloud business since the launch. Watch out for announcements in this space over the coming months :-)

Post reply on HN