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(query-core): enable null_serialization_error #5120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jkomyno
Copy link
Contributor

@jkomyno jkomyno commented Jan 13, 2025

DRAFT

Let's see what happens to our tests.
Ref: #2979.

@jkomyno jkomyno requested a review from a team as a code owner January 13, 2025 12:10
@jkomyno jkomyno requested review from wmadden and removed request for a team January 13, 2025 12:10
Comment on lines 297 to -299
} else if items.is_empty() && opt {
Ok((parent, Item::Ref(ItemRef::new(Item::Value(PrismaValue::Null)))))
} else if items.is_empty() && opt {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notice how these two conditions were identical, and hence the second one would never be conditionally chosen.

@jkomyno jkomyno requested review from aqrln and removed request for wmadden January 13, 2025 12:11
Copy link

codspeed-hq bot commented Jan 13, 2025

CodSpeed Performance Report

Merging #5120 will not alter performance

Comparing fix/enable-null-serialisation-error (cd141ff) with main (814e8ba)

Summary

✅ 11 untouched benchmarks

Copy link
Contributor

WASM Query Engine file Size

Engine This PR Base branch Diff
Postgres 2.098MiB 2.098MiB 150.000B
Postgres (gzip) 843.484KiB 843.464KiB 20.000B
Mysql 2.059MiB 2.059MiB 150.000B
Mysql (gzip) 828.996KiB 829.008KiB -13.000B
Sqlite 1.974MiB 1.974MiB 150.000B
Sqlite (gzip) 793.477KiB 793.512KiB -36.000B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant