noobaa-core icon indicating copy to clipboard operation
noobaa-core copied to clipboard

decode_json / encode_json functions should work with oneOf / anyOf schema options

Open nadavMiz opened this issue 1 year ago • 0 comments

Environment info

  • NooBaa Version: master

Actual behavior

  1. currently encode_json decode_json functions in postgres_client.js don't deal with oneOf / anyOf case of schemas. this may lead to objects using those schemas not being properly stored/retrieved from the Postgres database

Expected behavior

  1. encode_json/decode_json should parse schemas with oneOf/anyOf cases.

More information - Screenshots / Logs / Other output

nadavMiz avatar Aug 17 '23 15:08 nadavMiz