[BUG]: Deep update should not be possible if mandatory fields are not present in the input #8781
Labels
area/graphql
Issues related to GraphQL support on Dgraph.
community
Issue or PR created by the community.
kind/bug
Something is broken.
status/accepted
We accept to investigate/work on it.
What version of Dgraph are you using?
v22.0.2
Tell us a little more about your go-environment?
I'm using the standalone docker image
Have you tried reproducing the issue with the latest release?
Yes
What is the hardware spec (RAM, CPU, OS)?
not relevant
What steps will reproduce the bug?
schema:
Perform deep (nested) update:
result:
Query Members
result:
Expected behavior and actual result.
Attempting to create a nested object via a deep update should fail/error if required/mandatory field values are not present in the mutation variables. Without this, it is easy to corrupt the data via user error.
Additional information
No response
The text was updated successfully, but these errors were encountered: