vaticle / typedb-docs

TypeDB Documentation
25 stars 72 forks source link

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

Closed nikitakhutorni closed 3 months ago

nikitakhutorni commented 3 months ago

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;
james-whiteside commented 3 months ago

Good catch, many thanks! Fixed in https://github.com/vaticle/typedb-docs/commit/e1b0e0598b3886cc9d9ec080c1687bf91feb0b5b.