Support 1 to 1 associations seems to fail in V1.1.0 #4080
Labels
area/schema
Issues related to the schema language and capabilities.
kind/bug
Something is broken.
status/accepted
We accept to investigate/work on it.
What version of Dgraph are you using?
Have you tried reproducing the issue with the latest release?
I think that's the latest one.
What is the hardware spec (RAM, OS)?
Ubuntu 16.04, 16GB, don't think it's relevant here.
Steps to reproduce the issue (command/config used to run Dgraph).
run dgraph 1.1.0
clone this branch of this repo:
https://github.com/uprtcl/js-uprtcl-server/tree/duplicated-heads
Expected behaviour and actual result.
I configured the Perspective type as having one property called
head
of typeuid
(not[uid]
). Checksrc/db/schema.ts
and/src/db/dgraph.service.ts
/Since this issue was closed and added to V1.1.0, I expect that every time I set the
head
of aperspective
the value is overwritten instead of added to the previous one.In the last
console.log
there should be one singlehead
edge. Instead, there are two.The text was updated successfully, but these errors were encountered: