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
If you're updating a field, and if there is a different field in metadata that is currently null in the updated doc but is required, then update fails. For instance, you update some unrelated field, but it complains that, say, updatedDate is null, because it is added to the metadata as required, but this document doesn't have it.
So, only validate those fields that were updated during an update.
Note that this would still fail for save, because that is saving an invalid document, and it should fail.
The text was updated successfully, but these errors were encountered:
But what if the field without data has identity constraint? Meaning, the metadata has changed since the record was created to make a new field "identity" and older documents may not have it because either the field didn't exist before or the field wasn't required before. I think in general we don't want to see this happen. But we don't enforce any versioning policies such as not allowing a non-major version to make changes that are not backwards compatible. This is what is happening in some of our 0.0.x entity versions. We're just making changes and coordinating the impact for the most part (missed this in one case though, hence this issue!).
If you're updating a field, and if there is a different field in metadata that is currently null in the updated doc but is required, then update fails. For instance, you update some unrelated field, but it complains that, say, updatedDate is null, because it is added to the metadata as required, but this document doesn't have it.
So, only validate those fields that were updated during an update.
Note that this would still fail for save, because that is saving an invalid document, and it should fail.
The text was updated successfully, but these errors were encountered: