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
Providing a new docID fails with an error as documented by TestMutationUpdateOneToOne_RelationIDToLinkFromSecondarySide. Setting the id field to "" returns malformed document ID, missing either version or cid. Setting the id field to null panics.
UPDATE: We will resolve this by removing the ability to mutate the relationship from the secondary side.
The text was updated successfully, but these errors were encountered:
…#3124)
## Relevant issue(s)
Resolvessourcenetwork#3102
## Description
Prevents mutations from secondary side of relation.
Also validates that values given to relation fields are actually valid
docIDs - previously it only validated this on the secondary side, and it
was as easy to introduce it to the primary side as it was to correct the
tests expecting the failure, so I've added this here.
As IDs set via secondary affected the secondary docID the order of
results in some tests have changed. Also changed are tests that
accidentally created docs via the secondary side that didn't test the
secondary mutation (e.g. a lot of tests testing queries from the
secondary side also created the test docs from this direction).
Providing a new docID fails with an error as documented by
TestMutationUpdateOneToOne_RelationIDToLinkFromSecondarySide
. Setting the id field to""
returnsmalformed document ID, missing either version or cid
. Setting the id field tonull
panics.UPDATE: We will resolve this by removing the ability to mutate the relationship from the secondary side.
The text was updated successfully, but these errors were encountered: