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(typeorm): simplify DB API #2646

Merged
merged 9 commits into from
Jul 23, 2024
Merged

Conversation

kyranet
Copy link
Member

@kyranet kyranet commented Jul 21, 2024

Goes alongside #2644, and makes the migration to Prisma in #2450 much simpler

TODO

  • Fix rwlock already unlocked in conf
  • Fix SuppressedError in transactions

Copy link

codecov bot commented Jul 21, 2024

Codecov Report

Attention: Patch coverage is 16.85393% with 74 lines in your changes missing coverage. Please review.

Project coverage is 82.74%. Comparing base (3df1081) to head (12c7e0e).

Files Patch % Lines
src/lib/util/common/error.ts 18.66% 61 Missing ⚠️
src/lib/util/functions/permissions.ts 0.00% 12 Missing ⚠️
src/lib/i18n/index.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2646      +/-   ##
==========================================
- Coverage   84.96%   82.74%   -2.23%     
==========================================
  Files         100       82      -18     
  Lines        3691     3598      -93     
  Branches      281      281              
==========================================
- Hits         3136     2977     -159     
- Misses        551      617      +66     
  Partials        4        4              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kyranet kyranet force-pushed the refactor/typeorm/simplify-db-api branch 2 times, most recently from 0f3590b to 0450c9c Compare July 21, 2024 20:31
@kyranet kyranet force-pushed the refactor/typeorm/simplify-db-api branch from 0450c9c to 3e3e100 Compare July 22, 2024 16:06
@kyranet kyranet marked this pull request as ready for review July 22, 2024 17:18
@kyranet kyranet requested a review from favna as a code owner July 22, 2024 17:18
@kyranet kyranet merged commit 040e468 into main Jul 23, 2024
14 checks passed
@kyranet kyranet deleted the refactor/typeorm/simplify-db-api branch July 23, 2024 20:11
RedStar071 added a commit to wolfstar-project/wolfstar that referenced this pull request Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants