Skip to content

Eager load routes if necessary #380

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

Merged
merged 1 commit into from
May 14, 2024
Merged

Eager load routes if necessary #380

merged 1 commit into from
May 14, 2024

Conversation

andyw8
Copy link
Contributor

@andyw8 andyw8 commented May 13, 2024

The tests against Rails main are currently failing.

Closes #378

@andyw8 andyw8 added the bugfix This PR fixes an existing bug label May 13, 2024
@andyw8 andyw8 force-pushed the andyw8/eager-load-routes branch from f78c468 to 9a2403f Compare May 13, 2024 19:32
@andyw8 andyw8 force-pushed the andyw8/eager-load-routes branch from 9a2403f to af50ee2 Compare May 13, 2024 19:33
@andyw8 andyw8 marked this pull request as ready for review May 13, 2024 19:33
@andyw8 andyw8 requested a review from a team as a code owner May 13, 2024 19:33
@andyw8 andyw8 requested review from st0012 and vinistock May 13, 2024 19:33
@andyw8
Copy link
Contributor Author

andyw8 commented May 13, 2024

I've gone with the second option from #378 since doing it on the first request would introduce an awkward delay to the user experience.

@andyw8 andyw8 merged commit c437d41 into main May 14, 2024
44 checks passed
@andyw8 andyw8 deleted the andyw8/eager-load-routes branch May 14, 2024 13:18
@andyw8
Copy link
Contributor Author

andyw8 commented May 23, 2024

execute_unless_loaded was reverted in rails/rails@79fd5b4 but I expect it to be re-added soon so won't make any updates for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle deferred route drawing
3 participants