Hello, I hope to receive your help, is there a way to put back an empty field? I have an entity with a field called “externalname” the idea is that this field has values but can also be left empty, currently the field has the @id directive to make it unique but I can not leave it empty once it has had a value.
You cannot make a field with the
@id directive in Dgraph nullable. A possible solution would be to create a new field that can be null. However, keep in mind if
externalname is currently being used as a unique identifier, you will need to consider how to handle that uniqueness elsewhere in your implementation.