Unable to alter schema

In the DQL schema, instead of mixed_med: [MixedMed] ., you’ll do:

mixed_med: [uid] .

It is up to your code to make sure the uid you connect with is of type MixedMed. At the DQL level, Dgraph doesn’t type check the uid for you.

2 Likes