prisma / prisma1

💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB) [deprecated]
https://v1.prisma.io/docs/
Apache License 2.0
16.54k stars 862 forks source link

Ability to disable/delete User and File default types #151

Closed sonaye closed 7 years ago

marktani commented 7 years ago

I agree, we're already looking into this!

Why would this be interesting to you? Is it for "cosmetic" reasons or are the two models hindering your experience in more ways than that? Curious to learn more about your thoughts :slightly_smiling_face:

sonaye commented 7 years ago

@marktani For mainly cosmetic reasons is a good way to put it i think, but there is also the "waste of resources" factor on your side as well. If i just created a simple type "Submission" with one field "title" for example, here is what graphcool would generate: screen shot 2017-03-31 at 5 17 27 pm

Which i think is a bit too much, not that having these modules is not great, it's just that if you are aiming to become a provider for a much broader community of users with many different use cases, you would consider that some are just interested in the database-related features only of the platform, not auth, not storage, just beautiful graphql data management with a neat console.

You already have an integrations system which is just superb, as a part of your direction of offering more than just graphql, graphql and a suite of services around it to help us as devs build better apps. I imagine it wouldn't be that difficult to migrate those two types to the current integrations ecosystem.

I have decided recently to take jump and use graphql via graphcool in production, started working on the project about a ten days ago, so you should expect more feedback from me on the general experience of the platform :) thanks for the great work.

hypervillain commented 7 years ago

On the cosmetic side, I hate clicking on "Schema" and seeing an empty File table every time. Makes me want to create an "A" table just to avoid that frustration :)

marktani commented 7 years ago

Thanks for your feedback guys, this is very helpful :slightly_smiling_face: Having separate integrations for the File/User models is a great idea and makes a lot of sense!

marktani commented 7 years ago

This is available in the closed CLI beta, please reach out in a PM in the forum to learn more: https://www.graph.cool/forum/u/nilan/activity

marktani commented 7 years ago

the current behaviour is as follows (using the CLI beta):

I'll close this for now, we'll revisit this at a later point again.