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

Get rid of expr field in schema Type? #7338

Open
msullivan opened this issue May 10, 2024 · 0 comments
Open

Get rid of expr field in schema Type? #7338

msullivan opened this issue May 10, 2024 · 0 comments

Comments

@msullivan
Copy link
Member

It is duplicated with the expr field in alias/global in a way that seems needless and results in extra expressions to propagate to

It is part of the public schema API, but we can replace it with a computed:

create property expr := (select {.<type[is schema::Alias], .<target[is schema::Global]} limit 1).expr;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant