Entering Schema in Ratel

The documentation claims that you can add the following types directly in the Schema tab in Ratel. I can’t figure out how to do that. Any help?

type Person {
  id: ID!
  xid: String! @id
  name: String!
  age: Int @search
  friends: [Person] @hasInverse(field: "friends")
  ownsPets: [Animal] @hasInverse(field: "owner")
}

type Animal {
  id: ID!
  xid: String! @id
  name: String!
  owner: Person @hasInverse(field: "ownsPets")
}```

Again, Ratel is DQL/RDF only. You can’t run GraphQL Schemas there.

Try this docs
https://dgraph.io/docs/graphql/admin/#modifying-a-schema

Got it. Thanks!

Hi @mburbidg Could you please share the link to the Document where it “claims that you can add the following types directly in the Schema tab in Ratel.” We would like to reword or update the documentation to make it clear that Ratel is for DQL schema only.