René's URL Explorer Experiment


Title: feat(router): Add partial ActivatedRouteSnapshot information to `canMatch` params by atscott · Pull Request #66298 · angular/angular · GitHub

Open Graph Title: feat(router): Add partial ActivatedRouteSnapshot information to `canMatch` params by atscott · Pull Request #66298 · angular/angular

X Title: feat(router): Add partial ActivatedRouteSnapshot information to `canMatch` params by atscott · Pull Request #66298 · angular/angular

Description: This commit adds partial ActivatedRouteSnapshot information as the third parameter of the canMatch guard. resolves #49309

Open Graph Description: This commit adds partial ActivatedRouteSnapshot information as the third parameter of the canMatch guard. resolves #49309

X Description: This commit adds partial ActivatedRouteSnapshot information as the third parameter of the canMatch guard. resolves #49309

Opengraph URL: https://github.com/angular/angular/pull/66298

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9b6505a0-d13e-1277-3b2d-4363b281a364
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8286:1E771C:93035:CB25E:6964F156
html-safe-nonce2e2256d3e08fbff26fe6b03000d6d4d20dd2698c5dea941c7f7672d4a729060a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Mjg2OjFFNzcxQzo5MzAzNTpDQjI1RTo2OTY0RjE1NiIsInZpc2l0b3JfaWQiOiI3NDM1NDYxMzQ3NTQyMTAyMzU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac49c741d5977f72b08424a3afbbe76ae8199f23a37557045f717b77cc33d74c0f
hovercard-subject-tagpull_request:3142878042
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular/pull/66298/files
twitter:imagehttps://avatars.githubusercontent.com/u/479713?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/479713?s=400&v=4
og:image:altThis commit adds partial ActivatedRouteSnapshot information as the third parameter of the canMatch guard. resolves #49309
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None53cd8ae9b65b7c4a0ad545ffeb3216839259a92733857ba426906c0655c5419d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec140758368c0a01881f61b83770bd75cfe81e2c4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular/pull/66298/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F66298%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F66298%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/pull/66298/files
Reloadhttps://github.com/angular/angular/pull/66298/files
Reloadhttps://github.com/angular/angular/pull/66298/files
angular https://github.com/angular
angularhttps://github.com/angular/angular
Notifications https://github.com/login?return_to=%2Fangular%2Fangular
Fork 27k https://github.com/login?return_to=%2Fangular%2Fangular
Star 99.7k https://github.com/login?return_to=%2Fangular%2Fangular
Code https://github.com/angular/angular
Issues 1k https://github.com/angular/angular/issues
Pull requests 116 https://github.com/angular/angular/pulls
Discussions https://github.com/angular/angular/discussions
Actions https://github.com/angular/angular/actions
Projects 2 https://github.com/angular/angular/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/angular/angular/security
Please reload this pagehttps://github.com/angular/angular/pull/66298/files
Insights https://github.com/angular/angular/pulse
Code https://github.com/angular/angular
Issues https://github.com/angular/angular/issues
Pull requests https://github.com/angular/angular/pulls
Discussions https://github.com/angular/angular/discussions
Actions https://github.com/angular/angular/actions
Projects https://github.com/angular/angular/projects
Security https://github.com/angular/angular/security
Insights https://github.com/angular/angular/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
atscotthttps://github.com/atscott
angular:mainhttps://github.com/angular/angular/tree/main
atscott:prematchsnapshothttps://github.com/atscott/angular/tree/prematchsnapshot
Conversation 0 https://github.com/angular/angular/pull/66298
Commits 3 https://github.com/angular/angular/pull/66298/commits
Checks 14 https://github.com/angular/angular/pull/66298/checks
Files changed https://github.com/angular/angular/pull/66298/files
Please reload this pagehttps://github.com/angular/angular/pull/66298/files
feat(router): Add partial ActivatedRouteSnapshot information to canMatch params https://github.com/angular/angular/pull/66298/files#top
Show all changes 3 commits https://github.com/angular/angular/pull/66298/files
a79b2a5 refactor(router): extract snapshot creation to shared helper atscott Jan 2, 2026 https://github.com/angular/angular/pull/66298/commits/a79b2a5858ffd44a79d72e49655f053373cc3d76
72cb0c9 refactor(router): Add type for partial ActivatedRouteSnapshot for eas… atscott Jan 2, 2026 https://github.com/angular/angular/pull/66298/commits/72cb0c91ed21f8bde2470dcb1cd39e478b78e76a
8489155 feat(router): Add partial ActivatedRouteSnapshot information to `canM… atscott Jan 2, 2026 https://github.com/angular/angular/pull/66298/commits/8489155bad9f455957bb71031d67ada8948dcf58
Clear filters https://github.com/angular/angular/pull/66298/files
Please reload this pagehttps://github.com/angular/angular/pull/66298/files
Please reload this pagehttps://github.com/angular/angular/pull/66298/files
customizing-route-behavior.md https://github.com/angular/angular/pull/66298/files#diff-78ed8c1f6124aca3874434f43942bc09703ecfe1e788c5e324a81578530170a7
index.api.md https://github.com/angular/angular/pull/66298/files#diff-3285fdeb55a22be661bd85662395cf2f8943f6e3c4ca6386a0bc3372cc415aa0
bundle.golden_symbols.json https://github.com/angular/angular/pull/66298/files#diff-0ea07045c567fb07c48994161c0a3bfa5bd1a676bc484d0fd8d3f9c5c2bc5d8d
apply_redirects.ts https://github.com/angular/angular/pull/66298/files#diff-c4958945d247eb3842b4117e948efc54b776ad843626c0adca169e5d416582fb
index.ts https://github.com/angular/angular/pull/66298/files#diff-60f7c2fcb5faf15b8cf44d1cadc6c78e266a83e6addf94bdf3f4b5fee82549a1
models.ts https://github.com/angular/angular/pull/66298/files#diff-b8e9749ad4562cf0925fd464daee97ba96d82e28fd9f7b45bd1bf0e0342fa814
check_guards.ts https://github.com/angular/angular/pull/66298/files#diff-1706bbbdd4dda445171e80023d67b54f1aa77a457d6b81b6815239113fd34dec
recognize.ts https://github.com/angular/angular/pull/66298/files#diff-44c1b65f761a41afe66b151124a4be3714cad25e122360a783d81d6c8d37b4b1
config_matching.ts https://github.com/angular/angular/pull/66298/files#diff-faa5da47d510e443c2c8d83651f1da07898a355fc95f0b246f0f1553a1ecd479
guards.spec.ts https://github.com/angular/angular/pull/66298/files#diff-bafcdf9ee489059c669e73c1779e0168aef6b122af0a7e06a877f2339a9b3294
adev/src/content/guide/routing/customizing-route-behavior.mdhttps://github.com/angular/angular/pull/66298/files#diff-78ed8c1f6124aca3874434f43942bc09703ecfe1e788c5e324a81578530170a7
View file https://github.com/angular/angular/blob/8489155bad9f455957bb71031d67ada8948dcf58/adev/src/content/guide/routing/customizing-route-behavior.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/66298/{{ revealButtonHref }}
https://github.com/angular/angular/pull/66298/files#diff-78ed8c1f6124aca3874434f43942bc09703ecfe1e788c5e324a81578530170a7
https://github.com/angular/angular/pull/66298/files#diff-78ed8c1f6124aca3874434f43942bc09703ecfe1e788c5e324a81578530170a7
https://github.com/angular/angular/pull/66298/files#diff-78ed8c1f6124aca3874434f43942bc09703ecfe1e788c5e324a81578530170a7
goldens/public-api/router/index.api.mdhttps://github.com/angular/angular/pull/66298/files#diff-3285fdeb55a22be661bd85662395cf2f8943f6e3c4ca6386a0bc3372cc415aa0
View file https://github.com/angular/angular/blob/8489155bad9f455957bb71031d67ada8948dcf58/goldens/public-api/router/index.api.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/66298/{{ revealButtonHref }}
https://github.com/angular/angular/pull/66298/files#diff-3285fdeb55a22be661bd85662395cf2f8943f6e3c4ca6386a0bc3372cc415aa0
https://github.com/angular/angular/pull/66298/files#diff-3285fdeb55a22be661bd85662395cf2f8943f6e3c4ca6386a0bc3372cc415aa0
https://github.com/angular/angular/pull/66298/files#diff-3285fdeb55a22be661bd85662395cf2f8943f6e3c4ca6386a0bc3372cc415aa0
https://github.com/angular/angular/pull/66298/files#diff-3285fdeb55a22be661bd85662395cf2f8943f6e3c4ca6386a0bc3372cc415aa0
https://github.com/angular/angular/pull/66298/files#diff-3285fdeb55a22be661bd85662395cf2f8943f6e3c4ca6386a0bc3372cc415aa0
https://github.com/angular/angular/pull/66298/files#diff-3285fdeb55a22be661bd85662395cf2f8943f6e3c4ca6386a0bc3372cc415aa0
packages/core/test/bundling/router/bundle.golden_symbols.jsonhttps://github.com/angular/angular/pull/66298/files#diff-0ea07045c567fb07c48994161c0a3bfa5bd1a676bc484d0fd8d3f9c5c2bc5d8d
View file https://github.com/angular/angular/blob/8489155bad9f455957bb71031d67ada8948dcf58/packages/core/test/bundling/router/bundle.golden_symbols.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/66298/{{ revealButtonHref }}
https://github.com/angular/angular/pull/66298/files#diff-0ea07045c567fb07c48994161c0a3bfa5bd1a676bc484d0fd8d3f9c5c2bc5d8d
https://github.com/angular/angular/pull/66298/files#diff-0ea07045c567fb07c48994161c0a3bfa5bd1a676bc484d0fd8d3f9c5c2bc5d8d
packages/router/src/apply_redirects.tshttps://github.com/angular/angular/pull/66298/files#diff-c4958945d247eb3842b4117e948efc54b776ad843626c0adca169e5d416582fb
View file https://github.com/angular/angular/blob/8489155bad9f455957bb71031d67ada8948dcf58/packages/router/src/apply_redirects.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/66298/{{ revealButtonHref }}
https://github.com/angular/angular/pull/66298/files#diff-c4958945d247eb3842b4117e948efc54b776ad843626c0adca169e5d416582fb
https://github.com/angular/angular/pull/66298/files#diff-c4958945d247eb3842b4117e948efc54b776ad843626c0adca169e5d416582fb
https://github.com/angular/angular/pull/66298/files#diff-c4958945d247eb3842b4117e948efc54b776ad843626c0adca169e5d416582fb
https://github.com/angular/angular/pull/66298/files#diff-c4958945d247eb3842b4117e948efc54b776ad843626c0adca169e5d416582fb
https://github.com/angular/angular/pull/66298/files#diff-c4958945d247eb3842b4117e948efc54b776ad843626c0adca169e5d416582fb
packages/router/src/index.tshttps://github.com/angular/angular/pull/66298/files#diff-60f7c2fcb5faf15b8cf44d1cadc6c78e266a83e6addf94bdf3f4b5fee82549a1
View file https://github.com/angular/angular/blob/8489155bad9f455957bb71031d67ada8948dcf58/packages/router/src/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/66298/{{ revealButtonHref }}
https://github.com/angular/angular/pull/66298/files#diff-60f7c2fcb5faf15b8cf44d1cadc6c78e266a83e6addf94bdf3f4b5fee82549a1
https://github.com/angular/angular/pull/66298/files#diff-60f7c2fcb5faf15b8cf44d1cadc6c78e266a83e6addf94bdf3f4b5fee82549a1
packages/router/src/models.tshttps://github.com/angular/angular/pull/66298/files#diff-b8e9749ad4562cf0925fd464daee97ba96d82e28fd9f7b45bd1bf0e0342fa814
View file https://github.com/angular/angular/blob/8489155bad9f455957bb71031d67ada8948dcf58/packages/router/src/models.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/66298/{{ revealButtonHref }}
https://github.com/angular/angular/pull/66298/files#diff-b8e9749ad4562cf0925fd464daee97ba96d82e28fd9f7b45bd1bf0e0342fa814
https://github.com/angular/angular/pull/66298/files#diff-b8e9749ad4562cf0925fd464daee97ba96d82e28fd9f7b45bd1bf0e0342fa814
https://github.com/angular/angular/pull/66298/files#diff-b8e9749ad4562cf0925fd464daee97ba96d82e28fd9f7b45bd1bf0e0342fa814
https://github.com/angular/angular/pull/66298/files#diff-b8e9749ad4562cf0925fd464daee97ba96d82e28fd9f7b45bd1bf0e0342fa814
https://github.com/angular/angular/pull/66298/files#diff-b8e9749ad4562cf0925fd464daee97ba96d82e28fd9f7b45bd1bf0e0342fa814
packages/router/src/operators/check_guards.tshttps://github.com/angular/angular/pull/66298/files#diff-1706bbbdd4dda445171e80023d67b54f1aa77a457d6b81b6815239113fd34dec
View file https://github.com/angular/angular/blob/8489155bad9f455957bb71031d67ada8948dcf58/packages/router/src/operators/check_guards.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/66298/{{ revealButtonHref }}
https://github.com/angular/angular/pull/66298/files#diff-1706bbbdd4dda445171e80023d67b54f1aa77a457d6b81b6815239113fd34dec
https://github.com/angular/angular/pull/66298/files#diff-1706bbbdd4dda445171e80023d67b54f1aa77a457d6b81b6815239113fd34dec
https://github.com/angular/angular/pull/66298/files#diff-1706bbbdd4dda445171e80023d67b54f1aa77a457d6b81b6815239113fd34dec
https://github.com/angular/angular/pull/66298/files#diff-1706bbbdd4dda445171e80023d67b54f1aa77a457d6b81b6815239113fd34dec
https://github.com/angular/angular/pull/66298/files#diff-1706bbbdd4dda445171e80023d67b54f1aa77a457d6b81b6815239113fd34dec
packages/router/src/recognize.tshttps://github.com/angular/angular/pull/66298/files#diff-44c1b65f761a41afe66b151124a4be3714cad25e122360a783d81d6c8d37b4b1
View file https://github.com/angular/angular/blob/8489155bad9f455957bb71031d67ada8948dcf58/packages/router/src/recognize.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/66298/{{ revealButtonHref }}
https://github.com/angular/angular/pull/66298/files#diff-44c1b65f761a41afe66b151124a4be3714cad25e122360a783d81d6c8d37b4b1
https://github.com/angular/angular/pull/66298/files#diff-44c1b65f761a41afe66b151124a4be3714cad25e122360a783d81d6c8d37b4b1
https://github.com/angular/angular/pull/66298/files#diff-44c1b65f761a41afe66b151124a4be3714cad25e122360a783d81d6c8d37b4b1
https://github.com/angular/angular/pull/66298/files#diff-44c1b65f761a41afe66b151124a4be3714cad25e122360a783d81d6c8d37b4b1
https://github.com/angular/angular/pull/66298/files#diff-44c1b65f761a41afe66b151124a4be3714cad25e122360a783d81d6c8d37b4b1
https://github.com/angular/angular/pull/66298/files#diff-44c1b65f761a41afe66b151124a4be3714cad25e122360a783d81d6c8d37b4b1
https://github.com/angular/angular/pull/66298/files#diff-44c1b65f761a41afe66b151124a4be3714cad25e122360a783d81d6c8d37b4b1
Please reload this pagehttps://github.com/angular/angular/pull/66298/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.