Can I update fields with the @id directive?

You have to use dql to update the field, as it is impossible in graphql for the moment.

Your options are pretty much limited to a @lambda custom mutation, as there are no dql custom mutations in Dgraph Graphql.

There is no 21.07, so you will probably have to wait until 21.09 at the end of this month if you need to do it in GraphQL.

J

1 Like