thanks @JatinDevDG
Is it correct that the fields will be not editable when they are made @id
fields ?
I wanted the behavior of unique but still editable.
For now I am just going to check for this before adding into DB.
thanks @JatinDevDG
Is it correct that the fields will be not editable when they are made @id
fields ?
I wanted the behavior of unique but still editable.
For now I am just going to check for this before adding into DB.
yeah, as of now @id fields are not editable means you can’t update their values.
We are thinking of changing that behavior also.
Support for mutable @id fields has been merged to master branch and will be avaliable in 21.07 release.
PR:Feat(GRAPHQL): This PR allows updatable and nullable @id fields. by JatinDevDG · Pull Request #7736 · dgraph-io/dgraph · GitHub
Hi @JatinDevDG, is there somewhere we can see when dgraph releases are planned to be released to Dgraph Cloud? This feature in particular is one I’m waiting for
I’m currently using version 24.0.5, but I’m still encountering an issue with updating the @id
field. Specifically, when I change the @id
value, all related entities or relationships become broken. Is this behavior expected, or is there a workaround to maintain relationships when the @id
field is updated? Any guidance would be greatly appreciated.