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

query-engine: merge schema and schema-builder crates #3910

Closed
wants to merge 1 commit into from

Conversation

tomhoule
Copy link
Contributor

Currently, many items are exported publicly from schema because they are needed in schema-builder, and vice versa, but they are not part of the useful public API to the rest of the workspace.

Merging the two crates will let us make a lot of things private: we'll have a smaller, clearer API contract and we'll be free to refactor how that API is implemented without breaking query_core and dmmf.

closes https://github.com/prisma/client-planning/issues/346

@tomhoule tomhoule requested a review from a team April 24, 2023 13:47
@tomhoule tomhoule added this to the 4.14.0 milestone Apr 24, 2023
@tomhoule tomhoule force-pushed the qe-merge-schema-and-schema-builder branch 3 times, most recently from b19358c to 275c6c9 Compare April 24, 2023 16:24
Currently, many items are exported publicly from `schema` because they
are needed in `schema-builder`, and vice versa, but they are not part of
the useful public API to the rest of the workspace.

Merging the two crates will let us make a lot of things private: we'll
have a smaller, clearer API contract and we'll be free to refactor how
that API is implemented without breaking query_core and dmmf.

closes https://github.com/prisma/client-planning/issues/346
@tomhoule tomhoule force-pushed the qe-merge-schema-and-schema-builder branch from 275c6c9 to e998a70 Compare April 24, 2023 16:48
@codspeed-hq
Copy link

codspeed-hq bot commented Apr 24, 2023

CodSpeed Performance Report

Merging #3910 qe-merge-schema-and-schema-builder (e998a70) will create unknown performance changes.

Summary

🔥 0 improvements
❌ 0 regressions
✅ 0 untouched benchmarks

🆕 6 new benchmarks
⁉️ 6 dropped benchmarks

Benchmarks breakdown

Benchmark main qe-merge-schema-and-schema-builder Change
🆕 validate (small) N/A 8.4 ms N/A
🆕 build (small) N/A 28.8 ms N/A
🆕 validate (medium) N/A 62.1 ms N/A
🆕 build (medium) N/A 220 ms N/A
🆕 validate (large) N/A 281.7 ms N/A
🆕 build (large) N/A 3.7 s N/A
⁉️ validate (small) 8.4 ms N/A N/A
⁉️ build (small) 28.8 ms N/A N/A
⁉️ validate (medium) 62 ms N/A N/A
⁉️ build (medium) 220 ms N/A N/A
⁉️ validate (large) 282 ms N/A N/A
⁉️ build (large) 3.7 s N/A N/A

@tomhoule tomhoule closed this Apr 25, 2023
@tomhoule tomhoule deleted the qe-merge-schema-and-schema-builder branch April 25, 2023 04:40
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.

None yet

1 participant