-
Notifications
You must be signed in to change notification settings - Fork 238
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(qe): forward join fields for nested filters in m2m #4994
Conversation
CodSpeed Performance ReportMerging #4994 will not alter performanceComparing Summary
|
WASM Query Engine file Size
|
query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/filters/many_relation.rs
Outdated
Show resolved
Hide resolved
query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/filters/many_relation.rs
Outdated
Show resolved
Hide resolved
} else { | ||
rf.related_field().referenced_fields() | ||
} | ||
rf.linking_fields().as_scalar_fields().unwrap_or_default() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a comment here please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be done after today's release.
Co-authored-by: Alberto Schiabel <[email protected]>
* test(query-engine): add regression test for prisma/prisma#25103 * Fix the IDs in schema_25103 * Add the actual failing query in prisma_25103 * Add repro for 25104 * Support m2m in join_fields * Exclude mongodb for now * Add a test with different pk names * Update the test to be closer to the user's query Co-authored-by: Alberto Schiabel <[email protected]> --------- Co-authored-by: jkomyno <[email protected]> Co-authored-by: Alberto Schiabel <[email protected]>
schema.to_owned() | ||
} | ||
|
||
#[connector_test(schema(schema_25104), exclude(MongoDb))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should have been changed before merging and the schema should use #m2m
This PR:
some
clauses prisma#23742