You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We still need a larger discussion on how we want our schemas to behave. To me, it seems annoying that I'm not allowed to send null for a non-required field. More importantly, though, we need our schemas to behave consistently and predictably across the entire app.
Currently when uploading files at the acquisition level, files that do not have a type set are rejected and the
folder_reaper
is halted.The current "fix", in place on the deployed instances, is for:
"type": { "type": "string" },
to become:
"type": { "type": ["string", "null"] },
https://github.com/scitran/core/blob/master/api/schemas/input/file.json#L6
Other thoughts on how to handle this?
The text was updated successfully, but these errors were encountered: