Missing optional fields are not returned as null when requested with response_fields #516
Labels
OPTIMADE v1.0
A label for tagging issues/PRs that are required for compliance with v1.0 of the OPTIMADE spec
priority/medium
Issue or PR with a consensus of medium priority
server
Issues pertaining to the example server implementation
According to the specification, if an optional field is asked for using the
response_fields
query parameter, it must be returned asnull
if missing from the document. We currently don't do this (see e.g.immutable_id
in the test server).This is also related to the problem of returning errors when unknown fields are requested (PR: #504 Issue: #263)
The text was updated successfully, but these errors were encountered: