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

Avoid database queries on sourcediff component #15813

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

danidoni
Copy link
Contributor

@danidoni danidoni commented Mar 15, 2024

ViewComponents recommends you run your database queries outside of the component.

This PR extracts the database queries outside the SourcediffComponent.

Depends on #15794

@github-actions github-actions bot added the Frontend Things related to the OBS RoR app label Mar 15, 2024
@danidoni danidoni force-pushed the avoid-database-queries-on-sourcediff-component branch 4 times, most recently from fdcd59c to 797e246 Compare March 21, 2024 09:23
@github-actions github-actions bot added the Test Suite / CI 💉 Things related to our tests/CI label Mar 21, 2024
@danidoni danidoni force-pushed the avoid-database-queries-on-sourcediff-component branch 3 times, most recently from b9fa2fa to 47db0c6 Compare March 25, 2024 13:18
@danidoni danidoni force-pushed the avoid-database-queries-on-sourcediff-component branch from 47db0c6 to 0218d06 Compare March 25, 2024 17:20
@danidoni danidoni force-pushed the avoid-database-queries-on-sourcediff-component branch 2 times, most recently from 44c7490 to 0218d06 Compare June 3, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Things related to the OBS RoR app Refactoring 🏭 Test Suite / CI 💉 Things related to our tests/CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant