prisma / prisma-1-cloud-feedback

Feedback for Prisma Cloud
https://app.prisma.io
5 stars 4 forks source link

Can't edit JSON values #269

Open frandiox opened 4 years ago

frandiox commented 4 years ago

Hi! I'm not sure if this repo is relevant anymore. If it's not, please tell me where to report these issues.

In the current Prisma Cloud, when trying to edit a JSON value that is an array, it adds an extra set wrapper to the value and saves to DB. Example:

Original JSON value [a:1], modify it to [a:2] and click "Save to Database". The saved result will be { set: [a:2] } instead of [a:2].

Looks like non-array JSONs are updated correctly.