Open Zajozor opened 2 years ago
is there any chance for a progress on this :) ?
Here are some of the related issues:
+1 to this, strings and numbers are valid JSON which should be reflected in Prisma studio. Right now we need to find an alternative to adjust data of this type locally, or write scripts for 1 off changes which could be done using a GUI
Prisma version (
prisma -v
ornpx prisma -v
):Logs from Developer Tools Console or Command line, if any:
Does the issue persist even after updating to the latest
prisma
alpha? (npm i -D @prisma/cli@dev
) yesPrisma schema (if relevant):
issue description
When editing json fields in the prisma studio, scalar values (number, string, ...) don't pass field validation. I can still enter array and object values, but scalar values are also valid json and should be supported too.
Picture - scalar values show in red, and you cannot press save. But they can be obviously put in through actual prisma calls.
If there is some super simple fix, please guide me and I can also try looking into contributing a fix :)
Thanks for an amazing tool!