invenio-app-rdm icon indicating copy to clipboard operation
invenio-app-rdm copied to clipboard

Define optional/nullable fields convention (REST API + datamodel)

Open slint opened this issue 1 year ago • 1 comments

There are three ways to describe a nullable/optional value right now:

  • Field is not there at all
  • Field is there but with a null value
  • Field is there but with "empty" value ("" for strings, [] for lists)

Once we have a clear decision on this we can clearly reason about how to proceed... This affects REST API (and overall input) semantics also for when e.g. we want to "clear" a field.

slint avatar Nov 02 '23 10:11 slint

This issue was automatically marked as stale.

github-actions[bot] avatar Jan 02 '24 06:01 github-actions[bot]