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(qe): json and top-level f32 coercion should be in sync #4961

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Weakky
Copy link
Member

@Weakky Weakky commented Jul 22, 2024

Overview

fixes prisma/prisma#24414

relationJoins float coercion was fixed 4 months ago to avoid precision loss #4771. This PR is about making sure we apply the same fix for the top-level records. By top-level records, I mean records that aren't relations and thus aren't resolved as JSON.

@Weakky Weakky added this to the 5.18.0 milestone Jul 22, 2024
Copy link

codspeed-hq bot commented Jul 22, 2024

CodSpeed Performance Report

Merging #4961 will not alter performance

Comparing fix/f32-relation-joins (3340e70) with main (f66d888)

Summary

✅ 11 untouched benchmarks

Copy link
Contributor

github-actions bot commented Jul 22, 2024

WASM Query Engine file Size

Engine This PR Base branch Diff
Postgres 2.056MiB 2.056MiB 74.000B
Postgres (gzip) 820.888KiB 820.651KiB 243.000B
Mysql 2.025MiB 2.025MiB 74.000B
Mysql (gzip) 808.078KiB 808.059KiB 19.000B
Sqlite 1.918MiB 1.918MiB 116.000B
Sqlite (gzip) 766.028KiB 765.963KiB 66.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.

Creating and including a related object returns trimmed numbers with relationJoins
1 participant