Dgraph Query Language (DQL) includes support for custom logic. Specify the DQL query you want to execute and the Dgraph GraphQL API will execute it
Boolean, Int, Float,
etc are allowed. Lists and Object types aren’t allowed to be used as variables
with DQL queries.__typename in GraphQL query, then you should add dgraph.type as a field in
DQL query without any alias. This isn’t required for types, only for
interfaces.@withSubscription directive. See
the Subscriptions article for more
information.