Skip to content

Is nested link not supported? #4033

Answered by ratson
ratson asked this question in Q&A
Discussion options

You must be logged in to vote

@vpetrovykh Thank you for the answer.

The second solution is close to what I am looking for, here is my modified version.

module default {
  type Link {
    multi link links -> NestedLink;
  }

  type NestedLink extending Link {
     link another -> Link;
  }
}

Not optimal, but good enough.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ratson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants