-
Notifications
You must be signed in to change notification settings - Fork 136
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
Run URL helpers compiler when routes are modified #2165
Merged
vinistock
merged 1 commit into
main
from
01-23-run_url_helpers_compiler_when_routes_is_modified
Jan 24, 2025
Merged
Run URL helpers compiler when routes are modified #2165
vinistock
merged 1 commit into
main
from
01-23-run_url_helpers_compiler_when_routes_is_modified
Jan 24, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This stack of pull requests is managed by Graphite. Learn more about stacking. |
KaanOzkan
reviewed
Jan 23, 2025
vinistock
changed the base branch from
01-23-upgrade_rails_add-on_to_v0.3.31
to
graphite-base/2165
January 23, 2025 22:50
vinistock
force-pushed
the
01-23-run_url_helpers_compiler_when_routes_is_modified
branch
from
January 23, 2025 22:51
1f16c3b
to
f707030
Compare
vinistock
force-pushed
the
01-23-run_url_helpers_compiler_when_routes_is_modified
branch
from
January 23, 2025 22:51
f707030
to
a15d632
Compare
andyw8
approved these changes
Jan 24, 2025
vinistock
force-pushed
the
01-23-run_url_helpers_compiler_when_routes_is_modified
branch
from
January 24, 2025 15:00
a15d632
to
574ce80
Compare
vinistock
changed the base branch from
graphite-base/2165
to
01-24-avoid_naming_conflict_for_uri_source_
January 24, 2025 15:00
vinistock
changed the base branch from
01-24-avoid_naming_conflict_for_uri_source_
to
graphite-base/2165
January 24, 2025 15:29
vinistock
force-pushed
the
01-23-run_url_helpers_compiler_when_routes_is_modified
branch
from
January 24, 2025 15:29
574ce80
to
5339596
Compare
vinistock
force-pushed
the
01-23-run_url_helpers_compiler_when_routes_is_modified
branch
from
January 24, 2025 15:30
5339596
to
8f1d2cb
Compare
andyw8
reviewed
Jan 24, 2025
vinistock
force-pushed
the
01-23-run_url_helpers_compiler_when_routes_is_modified
branch
3 times, most recently
from
January 24, 2025 18:40
db4cd60
to
2162522
Compare
vinistock
force-pushed
the
01-23-run_url_helpers_compiler_when_routes_is_modified
branch
from
January 24, 2025 19:14
2162522
to
bc94e4d
Compare
KaanOzkan
approved these changes
Jan 24, 2025
vinistock
deleted the
01-23-run_url_helpers_compiler_when_routes_is_modified
branch
January 24, 2025 20:17
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Start generating URL helper DSLs upon route modifications. This is one of the compiler cases where there's not a constant, but rather a file pattern that triggers generation.
Implementation
routes.rb
file and then triggering a delegate notificationTests
Added tests and made some adjustments to make them more deterministic and avoid sleeping.
EDIT: couldn't avoid sleeping for some reason. Tests could use some future improvement.