Add in description in Schema of moredata/2 to make the predicate explicit

Moved from GitHub tutorial/122

Posted by zbioe:


taking the tour I came across with a situation in exercise blocksvars/6/
i needed to complete exercise, but i forgot the existence of predicate
i used moredata/2 as reference and it don’t show the predicate, so i can’t complete exercise and need see the spoiler to remember existence of predicate


We currently have:

type Person {
    name: string [Movie]

Add the follow line: [Performance]

Change for:

type Person {
    name: string [Movie] [Performance]

this could be a improvement

MichelDiz commented :

This won’t be necessary, as the structure of the Schema for Types has been simplified. And now you don’t need to describe edges or anything.


zbioe commented :