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(api): add wrapper around prisma calls #50696

Conversation

ojeytonwilliams
Copy link
Contributor

It's a fairly leaky abstraction, but it cleans up the handlers so might be worth it.

Checklist:

It's a fairly leaky abstraction, but it cleans up the handlers so might
be worth it.
@github-actions github-actions bot added the platform: api Server application that needs familiarity with Express, Loopback, MongoDB etc. label Jun 14, 2023
@ghost
Copy link

ghost commented Jun 14, 2023

👀 Review this PR in a CodeSee Review Map

View the CodeSee Map of this change

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@ojeytonwilliams ojeytonwilliams marked this pull request as ready for review November 9, 2023 13:44
@ojeytonwilliams ojeytonwilliams requested a review from a team as a code owner November 9, 2023 13:44
@ojeytonwilliams
Copy link
Contributor Author

Sorry, I shouldn't have left this as a draft. Thanks to Sem for the reminder.

Anyways: while it seems a bit weird to add another layer of abstraction over the thing that abstracts over the database, I quite like how clean the functions are.

Any thoughts?

@ojeytonwilliams
Copy link
Contributor Author

There's no rush on this one. I think it's worth considering post MVP, but not before.

@ojeytonwilliams ojeytonwilliams marked this pull request as draft February 22, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: api Server application that needs familiarity with Express, Loopback, MongoDB etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants