-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
v11.0.0 bug/breaking change: null filtering on embedded resource and disambiguation #2862
Comments
The issue is bc it uses target disambiguation using a column name for disambiguating multiple relationships between two tables. The above workaround is basically moving it to use hint disambiguation with the table name + column. Considering #2863, I'll label it as won't fix and close it once we announce the deprecation. |
Seems this is unfixable when having a foreign key column that has the same name as the table. Like: create table foo(
status integer references status(id)
) These cases are unrelated to disambiguation. This is definitely worth fixing but I'm not sure how to do it atm. We might need to rework the null filtering feature. |
One option could be to ditch the Another safer option might be doing:
Exists would only operate on embedded resources. This would also cause a breaking change regardless. |
This might not be a bad fix in the meantime. |
Having:
The following now fails.
Because the filter is interpreted as a null filter on an embed.
A workaround is:
The text was updated successfully, but these errors were encountered: