We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently if two subtypes contain the same keys, using the e.is function cannot generate the proper EdgeQL query.
e.is
Example:
Schema:
abstract type A { a: str; } type B extending A { b: int; } type C extending A { b: str; }
EdgeQL:
select A { a, [is B].b, [is C].b }
Query Builder:
e.select(e.A, () => ({ a: true, ...e.is(e.B, { b: true }), ...e.is(e.C, { b: true }), }));
In the Query Builder case, you end up overriding the e.B property with e.C rather than having both of them end up in the final query data structure.
e.B
e.C
The text was updated successfully, but these errors were encountered:
Duplicate of #630
Sorry, something went wrong.
No branches or pull requests
Currently if two subtypes contain the same keys, using the
e.is
function cannot generate the proper EdgeQL query.Example:
Schema:
EdgeQL:
Query Builder:
In the Query Builder case, you end up overriding the
e.B
property withe.C
rather than having both of them end up in the final query data structure.The text was updated successfully, but these errors were encountered: