noobaa-core
noobaa-core copied to clipboard
decode_json / encode_json functions should work with oneOf / anyOf schema options
Environment info
- NooBaa Version: master
Actual behavior
- 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
- encode_json/decode_json should parse schemas with oneOf/anyOf cases.