René's URL Explorer Experiment


Title: refactor(core): use Partial for MetadataOverride by cexbrayat · Pull Request #24103 · angular/angular · GitHub

Open Graph Title: refactor(core): use Partial for MetadataOverride by cexbrayat · Pull Request #24103 · angular/angular

X Title: refactor(core): use Partial for MetadataOverride by cexbrayat · Pull Request #24103 · angular/angular

Description: Allows to write: const fixture = TestBed .overridePipe(DisplayNamePipe, { set: { pure: false } }) .createComponent(MenuComponent); when you only want to set the pure metadata, instead of currently: const fixture = TestBed .overridePipe(DisplayNamePipe, { set: { name: 'displayName', pure: false } }) .createComponent(MenuComponent); which forces you to redefine the name of the pipe even if it is useless. Fixes #24102 PR Checklist Please check if your PR fulfills the following requirements: The commit message follows our guidelines: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit Tests for the changes have been added (for bug fixes / features) Docs have been added / updated (for bug fixes / features) PR Type What kind of change does this PR introduce? [x] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Build related changes [ ] CI related changes [ ] Documentation content changes [ ] angular.io application / infrastructure changes [ ] Other... Please describe: What is the current behavior? Issue Number: #24102 What is the new behavior? Allows: const fixture = TestBed .overridePipe(DisplayNamePipe, { set: { pure: false } }) .createComponent(MenuComponent); Does this PR introduce a breaking change? [ ] Yes [x] No Other information

Open Graph Description: Allows to write: const fixture = TestBed .overridePipe(DisplayNamePipe, { set: { pure: false } }) .createComponent(MenuComponent); when you only want to set the pure metadata, instead o...

X Description: Allows to write: const fixture = TestBed .overridePipe(DisplayNamePipe, { set: { pure: false } }) .createComponent(MenuComponent); when you only want to set the pure metadata, instead o...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:cabf9235-037d-6ab5-dbf8-c6e68616f3fd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB4AC:F5B4:144AF7C:1C9D7F0:6A61C9E5
html-safe-noncec3bd269d5c199465759a758e7749f9476aee61f633951615bc1dba7055c856f8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEFDOkY1QjQ6MTQ0QUY3QzoxQzlEN0YwOjZBNjFDOUU1IiwidmlzaXRvcl9pZCI6IjU5MDM3NzMyNDg0MTc1NDg3NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc2bb5c1c7ee8003b56a75586cf4cbd8b993c2023cd2d0e465ffb36fc9a7c24ff
hovercard-subject-tagpull_request:190304758
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/24103/files
twitter:imagehttps://avatars.githubusercontent.com/u/411874?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/411874?s=400&v=4
og:image:altAllows to write: const fixture = TestBed .overridePipe(DisplayNamePipe, { set: { pure: false } }) .createComponent(MenuComponent); when you only want to set the pure metadata, instead o...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c
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
released1866027ded575df8a15c731dd8b9986c9483ceb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular/pull/24103/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F24103%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F24103%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/24103/files
Reloadhttps://github.com/angular/angular/pull/24103/files
Reloadhttps://github.com/angular/angular/pull/24103/files
Please reload this pagehttps://github.com/angular/angular/pull/24103/files
angular https://github.com/angular
angularhttps://github.com/angular/angular
Notifications https://github.com/login?return_to=%2Fangular%2Fangular
Fork 27.5k https://github.com/login?return_to=%2Fangular%2Fangular
Star 101k https://github.com/login?return_to=%2Fangular%2Fangular
Code https://github.com/angular/angular
Issues 980 https://github.com/angular/angular/issues
Pull requests 166 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 and quality 24 https://github.com/angular/angular/security
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 and quality 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
cexbrayathttps://github.com/cexbrayat
angular:masterhttps://github.com/angular/angular/tree/master
cexbrayat:fix/use-partialhttps://github.com/cexbrayat/angular/tree/fix/use-partial
Conversation 7 https://github.com/angular/angular/pull/24103
Commits 1 https://github.com/angular/angular/pull/24103/commits
Checks 0 https://github.com/angular/angular/pull/24103/checks
Files changed https://github.com/angular/angular/pull/24103/files
Please reload this pagehttps://github.com/angular/angular/pull/24103/files
refactor(core): use Partial for MetadataOverride https://github.com/angular/angular/pull/24103/files#top
Show all changes 1 commit https://github.com/angular/angular/pull/24103/files
7a68b71 refactor(core): use Partial for MetadataOverride cexbrayat May 24, 2018 https://github.com/angular/angular/pull/24103/commits/7a68b716c13c5e841778bb8f926087be2dfc6361
Clear filters https://github.com/angular/angular/pull/24103/files
Please reload this pagehttps://github.com/angular/angular/pull/24103/files
Please reload this pagehttps://github.com/angular/angular/pull/24103/files
testing.md https://github.com/angular/angular/pull/24103/files#diff-eb727bc330033526ca0840faa251f13304106d93e362f54acf3c459118733482
metadata_override.ts https://github.com/angular/angular/pull/24103/files#diff-a2606d4ef5170cc9efcf841b119e86bcfab1ab63ccc3666222522f4f955522b6
testing_public_spec.ts https://github.com/angular/angular/pull/24103/files#diff-371a24810760cc82eb44712a4e04d46fd98d2387b649c669712cf463c877d112
testing.d.ts https://github.com/angular/angular/pull/24103/files#diff-96824c870545138205c9037520842c1c97ea53163ca43a80e6d074ecc4b60606
aio/content/guide/testing.mdhttps://github.com/angular/angular/pull/24103/files#diff-eb727bc330033526ca0840faa251f13304106d93e362f54acf3c459118733482
View file https://github.com/cexbrayat/angular/blob/7a68b716c13c5e841778bb8f926087be2dfc6361/aio/content/guide/testing.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/24103/{{ revealButtonHref }}
https://github.com/angular/angular/pull/24103/files#diff-eb727bc330033526ca0840faa251f13304106d93e362f54acf3c459118733482
https://github.com/angular/angular/pull/24103/files#diff-eb727bc330033526ca0840faa251f13304106d93e362f54acf3c459118733482
https://github.com/angular/angular/pull/24103/files#diff-eb727bc330033526ca0840faa251f13304106d93e362f54acf3c459118733482
https://github.com/angular/angular/pull/24103/files#diff-eb727bc330033526ca0840faa251f13304106d93e362f54acf3c459118733482
packages/core/testing/src/metadata_override.tshttps://github.com/angular/angular/pull/24103/files#diff-a2606d4ef5170cc9efcf841b119e86bcfab1ab63ccc3666222522f4f955522b6
View file https://github.com/cexbrayat/angular/blob/7a68b716c13c5e841778bb8f926087be2dfc6361/packages/core/testing/src/metadata_override.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/24103/{{ revealButtonHref }}
https://github.com/angular/angular/pull/24103/files#diff-a2606d4ef5170cc9efcf841b119e86bcfab1ab63ccc3666222522f4f955522b6
packages/platform-browser/test/testing_public_spec.tshttps://github.com/angular/angular/pull/24103/files#diff-371a24810760cc82eb44712a4e04d46fd98d2387b649c669712cf463c877d112
View file https://github.com/cexbrayat/angular/blob/7a68b716c13c5e841778bb8f926087be2dfc6361/packages/platform-browser/test/testing_public_spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/24103/{{ revealButtonHref }}
https://github.com/angular/angular/pull/24103/files#diff-371a24810760cc82eb44712a4e04d46fd98d2387b649c669712cf463c877d112
https://github.com/angular/angular/pull/24103/files#diff-371a24810760cc82eb44712a4e04d46fd98d2387b649c669712cf463c877d112
tools/public_api_guard/core/testing.d.tshttps://github.com/angular/angular/pull/24103/files#diff-96824c870545138205c9037520842c1c97ea53163ca43a80e6d074ecc4b60606
View file https://github.com/cexbrayat/angular/blob/7a68b716c13c5e841778bb8f926087be2dfc6361/tools/public_api_guard/core/testing.d.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/24103/{{ revealButtonHref }}
https://github.com/angular/angular/pull/24103/files#diff-96824c870545138205c9037520842c1c97ea53163ca43a80e6d074ecc4b60606
https://github.com/angular/angular/pull/24103/files#diff-96824c870545138205c9037520842c1c97ea53163ca43a80e6d074ecc4b60606
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.