# Ratel does not display manually set Type in the schema tab at Types or Predicates

**URL:** <https://discuss.dgraph.io/t/ratel-does-not-display-manually-set-type-in-the-schema-tab-at-types-or-predicates/8045>\
**Category:** Ratel\
**Tags:** untagged, ratel\
**Created:** [April 21, 2020, 4:06pm UTC](https://discuss.dgraph.io/t/ratel-does-not-display-manually-set-type-in-the-schema-tab-at-types-or-predicates/8045 "2020-04-21T16:06:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [April 21, 2020, 4:06pm UTC](https://discuss.dgraph.io/t/ratel-does-not-display-manually-set-type-in-the-schema-tab-at-types-or-predicates/8045/1 "2020-04-21T16:06:32Z")

</div>

**Moved from GitHub [ratel/190](https://github.com/dgraph-io/ratel/issues/190)**

_Posted by_ [martinthenth](https://github.com/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).

1. Create node with “dgraph.type” in JSON:  
`{ "dgraph.type": "Post", "title": "string", ... }`

2. See Ratel schema on `localhost:8000`. Type `Post` is not visible, nor predicate `dgraph.type`.

3. 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](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.

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [April 21, 2020, 5:09pm UTC](https://discuss.dgraph.io/t/ratel-does-not-display-manually-set-type-in-the-schema-tab-at-types-or-predicates/8045/2 "2020-04-21T17:09:08Z")

</div>

[paulftw](https://github.com/paulftw) _commented_ :

Closing this issue as not specific to Ratel.  
See discussion in [Ratel does not display manually set Type in the schema tab at Types or Predicates. · Issue #5254 · dgraph-io/dgraph · GitHub](https://github.com/dgraph-io/dgraph/issues/5254)

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [July 11, 2020, 3:22am UTC](https://discuss.dgraph.io/t/ratel-does-not-display-manually-set-type-in-the-schema-tab-at-types-or-predicates/8045/3 "2020-07-11T03:22:51Z")

</div>


