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

refactor(client): internally split client into separate sync / async classes #876

Merged
merged 12 commits into from
Jan 26, 2024

Conversation

RobertCraigie
Copy link
Owner

@RobertCraigie RobertCraigie commented Jan 21, 2024

More laying of the ground work for #871. This doesn't quite fully support using separate sync / async classes yet as we still only generate a single Prisma class with all the model actions on it, but this gets us much closer to that point :)

Note:

  • Moved prisma.builder to prisma._builder, constructor now requires prisma_models and relational_field_mappings arguments

Base automatically changed from bump/pyright to main January 21, 2024 20:38
@RobertCraigie RobertCraigie force-pushed the refactor/client branch 4 times, most recently from 0a55c62 to 949b77c Compare January 22, 2024 00:03
@RobertCraigie RobertCraigie marked this pull request as ready for review January 26, 2024 08:51
@RobertCraigie RobertCraigie merged commit 3b1c965 into main Jan 26, 2024
33 checks passed
@RobertCraigie RobertCraigie deleted the refactor/client branch January 26, 2024 08:53
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