Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intersections don't have the appropriate link properties #8430

Open
Gobot1234 opened this issue Mar 4, 2025 · 0 comments
Open

Intersections don't have the appropriate link properties #8430

Gobot1234 opened this issue Mar 4, 2025 · 0 comments

Comments

@Gobot1234
Copy link
Contributor

Gobot1234 commented Mar 4, 2025

  • EdgeDB Version: 7.0-dev.9216+f4632f8

Steps to Reproduce:

select Container {
    users: {
       [is Rep].supervisable_training
    }
}
InvalidReferenceError: link 'training' of object type '(users::Rep & users::User)' has no property 'x'

The span for this error is also way off.

Schema:

type Training;
type User {
    multi training: Training {
        x: str
    }
}
type Rep extending User {
    multi supervisable_training := select .training filter @x = ""
}

type Container {
    multi users: User
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant