Skip to content

Conversation

@flyingsilverfin
Copy link
Member

@flyingsilverfin flyingsilverfin commented Apr 26, 2025

Product change and motivation

We fix one syntactic inconsistency, grammatically allowing list overrides for relation's roles:

define
  relation sub-rel, relates sub-role[] as super-role[];

Implementation

We relax the grammar to allow specialisations of relation's roles with ordering.

Copy link
Member

@farost farost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@flyingsilverfin flyingsilverfin merged commit a37d176 into typedb:master Apr 28, 2025
3 checks passed
@flyingsilverfin flyingsilverfin deleted the allow-relates-as-list branch April 28, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants