I am trying it on local using docker compose file. I have created a file named, cdc inside of the same directory where the compose file is and running alpha with --cdc "file=./cdc" flag. I am not able to see any events there after inserting data.
it says "attr":"display_name" but instead is should be "attr":"user.display_name" where user is the type. currently it simply says display_name but how would the the consumer of this event would know to which type does it belongs?
Need to show schema AND if possible the mutation that caused this effect. I would dare say that the DQL mutation might not be using the type dotted notation.
The type name context would only be there if the predicate was type contextualized which in your case it is not.
They wouldn’t. They would have to use the uid and get the dgraph.type predicate.
If you have to know the type context, then I would (if I were you) open an issue stating why you need the type context and request not that the predicate is always prefixed, but that the CDC always returns the dgraph.type predicate for context.