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

fix: compacting should only be done on findUnique queries #3375

Merged
merged 1 commit into from Nov 9, 2022

Conversation

Weakky
Copy link
Member

@Weakky Weakky commented Nov 9, 2022

Overview

fixes prisma/prisma#16195

Under some precise circumstances (that is, when the first item of the batch is a findUnique but others aren't), the code could lead us to attempt reading filters from an operation that did not contain any.

@Jolg42 Jolg42 added this to the 4.7.0 milestone Nov 9, 2022
@Weakky Weakky merged commit 8b67711 into main Nov 9, 2022
@Weakky Weakky deleted the fix/batched-queries branch November 9, 2022 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants