-
Notifications
You must be signed in to change notification settings - Fork 65
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
Fix anyscalar
behavior in query builder
#1089
Labels
Comments
@scotttrinh :) Hello , Please use a constraint such as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In EdgeQL,
anyscalar
is a kind of generic that binds other usages to the same concrete type when applied rather than being a union of all scalar types as the name implies (and as we're currently treating it).So, when we have a function or operator that uses
anyscalar
for two or more operands/arguments, the actual type is constrained as if all arguments agree on the instance of the generic. So more like:instead of
The text was updated successfully, but these errors were encountered: