Moved from GitHub ratel/190
Posted by martinthenth:
What version of Dgraph are you using?
20.03
Have you tried reproducing the issue with the latest release?
Issue is with latest release.
What is the hardware spec (RAM, OS)?
macOS 8GB
Steps to reproduce the issue (command/config used to run Dgraph).
-
Create node with “dgraph.type” in JSON:
{ "dgraph.type": "Post", "title": "string", ... }
-
See Ratel schema on
localhost:8000
. TypePost
is not visible, nor predicatedgraph.type
. -
Query the node with
func: type(Post)
or as filter@filter (type(Post))
. The query happens correctly with Type set.
Expected behaviour and actual result.
Types set via “dgraph.type”, as per the documentation https://dgraph.io/docs/query-language/#setting-the-type-of-a-node, should appear in Ratel dashboard as either Type or Predicate.
Types set via JSON do not, however, show up in the Ratel dashboard. Functionally they work as expected and I have not found a problem apart form the dashboard.