hi what would cause the "Add record" button in Pri...
# orm-help
n
hi what would cause the "Add record" button in Prisma Studio to be disabled? I have a many-to-many Mongo relationship with two models and I can't create records for either of them. The rest are working fine
1
n
Hi Nathan 👋 Welcome to our community! prisma rainbow Which version of Prisma are you using? Can you please share the schema file so that I can replicate it on my end and check?
v
👋 Hey @Nathan N would you mind also telling us a bit more about this use case?(e.g. personal or work project, in prod, etc.)
n
just did a test with
@prisma/client@4.2
and the button is functional again, so looks like it could be a recently added bug/side effect
It is supported for existing documents though, many to many relations work fine even in 4.3+
currently I'm having to: • comment out the many->many relations in the schema • create a document in studio • uncomment it in the schema again • update the many->many relations in studio surely this can just be done automatically with some logic? many->many relations is hardly an edge case, I don't see how disabling it is a fix
n
I can understand how this is not the best experience for you. I’ll share the feedback with the team so that we can improve this case. Thank you for bringing this up
🙏 1
n
thanks @Nurul
🙌 2