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 suggested chart revision tool to use knex #3396

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

danyx23
Copy link
Contributor

@danyx23 danyx23 commented Mar 23, 2024

This PR refactors the last TypeORM class which is the suggested chart revision tool and entity. This one is a bit bigger of a change because the old code was mutating objects quite a bit and this refactor changes the code to work in a more predictable way of making new objects when going from unparsed to parsed (raw to enriched) db objects.

@danyx23 danyx23 marked this pull request as ready for review March 23, 2024 15:36
@danyx23 danyx23 force-pushed the db-fix-remaining-refactor-issues branch from 2d15ad1 to e964145 Compare March 24, 2024 10:05
@danyx23 danyx23 force-pushed the db-migrate-suggested-chart-revisions branch from 2d3968c to 84280ee Compare March 24, 2024 10:06
@danyx23 danyx23 force-pushed the db-fix-remaining-refactor-issues branch from e964145 to 0fd5829 Compare March 25, 2024 11:27
@danyx23 danyx23 force-pushed the db-migrate-suggested-chart-revisions branch from 84280ee to 59d9b78 Compare March 25, 2024 11:27
@lucasrodes lucasrodes self-assigned this Mar 25, 2024
@lucasrodes
Copy link
Member

Hi @danyx23, thanks for doing this refactor!

I tested it, and it works as expected (even the bug is preserved).

LGTM

Copy link
Contributor Author

danyx23 commented Mar 26, 2024

Very good to know that the bug is preserved 😜 . Thanks for testing it! 🙏

@danyx23 danyx23 force-pushed the db-fix-remaining-refactor-issues branch from 0fd5829 to fa71b19 Compare March 26, 2024 11:45
@danyx23 danyx23 force-pushed the db-migrate-suggested-chart-revisions branch from d95d91d to f4a7f1d Compare March 26, 2024 11:45
@danyx23 danyx23 force-pushed the db-fix-remaining-refactor-issues branch from fa71b19 to 36fe011 Compare March 26, 2024 13:08
@danyx23 danyx23 force-pushed the db-migrate-suggested-chart-revisions branch from f4a7f1d to 7cb9ff0 Compare March 26, 2024 13:08
Copy link
Contributor Author

danyx23 commented Mar 26, 2024

Merge activity

  • Mar 26, 10:04 AM EDT: @danyx23 started a stack merge that includes this pull request via Graphite.
  • Mar 26, 10:31 AM EDT: Graphite rebased this pull request as part of a merge.
  • Mar 26, 10:34 AM EDT: @danyx23 merged this pull request with Graphite.

@danyx23 danyx23 force-pushed the db-fix-remaining-refactor-issues branch from 36fe011 to 185daf7 Compare March 26, 2024 14:29
Base automatically changed from db-fix-remaining-refactor-issues to master March 26, 2024 14:30
@danyx23 danyx23 force-pushed the db-migrate-suggested-chart-revisions branch from 7cb9ff0 to b0579bf Compare March 26, 2024 14:30
@danyx23 danyx23 merged commit 2d2c341 into master Mar 26, 2024
17 of 20 checks passed
@danyx23 danyx23 deleted the db-migrate-suggested-chart-revisions branch March 26, 2024 14:34
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.

3 participants