typedb/typedb-docs

Typos in code block in Docs > 5. Defining schemas > 5.2

nikitakhutorni opened this issue · 1 comments

Description of issue

The code block modifies authorship and illustration relations; however those were previously defined as authoring and illustrating.

Previous code block:

define
contribution sub relation,
    relates work,
    relates contributor;
authoring sub contribution;
editing sub contribution;
illustrating sub contribution;

Following affected code block:

define
authorship relates author as contributor;
editing relates editor as contributor;
illustration relates illustrator as contributor;

The rest of the article also uses authoring and illustrating relationships.

Affected docs article

https://typedb.com/docs/learn/5-defining-schemas/5.2-defining-type-hierarchies

Suggested solution

Change code block content to the following:

authoring relates author as contributor;
editing relates editor as contributor;
illustrating relates illustrator as contributor;

Good catch, many thanks! Fixed in e1b0e05.