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 3 commits into
base: main
Choose a base branch
from

Conversation

Weakky
Copy link
Contributor

@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 (3bc955e) with main (5b155e0)

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.038MiB 2.038MiB 74.000B
Postgres (gzip) 818.756KiB 818.838KiB -84.000B
Mysql 2.001MiB 2.001MiB 74.000B
Mysql (gzip) 804.727KiB 804.592KiB 138.000B
Sqlite 1.900MiB 1.900MiB 116.000B
Sqlite (gzip) 765.052KiB 765.012KiB 41.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
2 participants