René's URL Explorer Experiment


Title: Providing a DI token in commonEngine.render() does not provide its value to application · Issue #26323 · angular/angular-cli · GitHub

Open Graph Title: Providing a DI token in commonEngine.render() does not provide its value to application · Issue #26323 · angular/angular-cli

X Title: Providing a DI token in commonEngine.render() does not provide its value to application · Issue #26323 · angular/angular-cli

Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? Yes Description Prior to upgrading to v17 our application passed express' req/res as REQUEST/RESPONSE DI Tokens through the render function ...

Open Graph Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? Yes Description Prior to upgrading to v17 our application passed express' req/res as REQUEST/RESPONS...

X Description: Which @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? Yes Description Prior to upgrading to v17 our application passed express' req/res as REQUEST...

Opengraph URL: https://github.com/angular/angular-cli/issues/26323

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Providing a DI token in commonEngine.render() does not provide its value to application","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\nDon't known / other\n\n### Is this a regression?\n\nYes\n\n### Description\n\nPrior to upgrading to v17 our application passed express' req/res as REQUEST/RESPONSE  DI Tokens through the render function of the engine in server.ts.  Since upgrading to v17 from v16 these DI Token values are always null.  \r\n\r\nThis can be seen in the minimal reproduction where all three of APP_BASE_HREF / REQUEST / RESPONSE are null in the console output while running 'ng serve'.  \r\n\r\nIf using @angular-devkit/build-angular:browser instead of @angular-devkit/build-angular:application this problem does not occur. I assume there is a different way to provide dependencies from server.ts now but I have not been able to find any updated documentation on it.\n\n### Please provide a link to a minimal reproduction of the bug\n\nhttps://github.com/Ozzcer/angular-ssr-di-issue\n\n### Please provide the exception or error you saw\n\n```true\nConsole outputs null for all DI Tokens provided in server.ts\n```\n\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n```true\nAngular CLI: 17.0.0\r\nNode: 18.17.1\r\nPackage Manager: npm 9.6.7\r\nOS: linux x64\r\n\r\nAngular: 17.0.2\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... platform-browser, platform-browser-dynamic, platform-server\r\n... router\r\n\r\nPackage                         Version\r\n---------------------------------------------------------\r\n@angular-devkit/architect       0.1700.0\r\n@angular-devkit/build-angular   17.0.0\r\n@angular-devkit/core            17.0.0\r\n@angular-devkit/schematics      17.0.0\r\n@angular/cli                    17.0.0\r\n@angular/ssr                    17.0.0\r\n@schematics/angular             17.0.0\r\nrxjs                            7.8.1\r\ntypescript                      5.2.2\r\nzone.js                         0.14.2\n```\n\n\n### Anything else?\n\n_No response_","author":{"url":"https://github.com/Ozzcer","@type":"Person","name":"Ozzcer"},"datePublished":"2023-11-10T13:04:31Z","url":"https://github.com/angular/angular-cli/issues/26323"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1a443d85-fd82-1c52-f6e8-27a14f9925f0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD7AE:3EB63C:25CDDD:322C57:6AED445A
html-safe-noncea4deecb82b90983a089432d0e357619bbd3dc1cc760fc917427c18bb4c11b919
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0FFOjNFQjYzQzoyNUNEREQ6MzIyQzU3OjZBRUQ0NDVBIiwidmlzaXRvcl9pZCI6IjIzOTY2ODE0NjE5NDM4NDU5NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0658b06b0a0c55bdbadb2535a641604553613dacccb72331476271df1576078a
hovercard-subject-tagissue:1987592729
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/26323/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bf5f6d27f7a43b58b92141b9410470d823a38f49367cae0b33bfe0faefa74828/angular/angular-cli/issues/26323
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bf5f6d27f7a43b58b92141b9410470d823a38f49367cae0b33bfe0faefa74828/angular/angular-cli/issues/26323
og:image:altWhich @angular/* package(s) are the source of the bug? Don't known / other Is this a regression? Yes Description Prior to upgrading to v17 our application passed express' req/res as REQUEST/RESPONS...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameOzzcer
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/26323#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F26323
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F26323
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/26323
Reloadhttps://github.com/angular/angular-cli/issues/26323
Reloadhttps://github.com/angular/angular-cli/issues/26323
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues195 (195)https://github.com/angular/angular-cli/issues
Pull requests25 (25)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/pulse
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/26323
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/26323
#28463https://github.com/angular/angular-cli/pull/28463
Providing a DI token in commonEngine.render() does not provide its value to applicationhttps://github.com/angular/angular-cli/issues/26323#top
#28463https://github.com/angular/angular-cli/pull/28463
angular/build:dev-serverhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22angular%2Fbuild%3Adev-server%22
area: @angular/buildhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fbuild%22
freq3: highhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq3%3A%20high%22
https://github.com/Ozzcer
Ozzcerhttps://github.com/Ozzcer
on Nov 10, 2023https://github.com/angular/angular-cli/issues/26323#issue-1987592729
https://github.com/Ozzcer/angular-ssr-di-issuehttps://github.com/Ozzcer/angular-ssr-di-issue
Nexthttps://github.com/angular/angular-cli/issues/26323?timeline_page=1
Ozzcerhttps://github.com/Ozzcer
on Nov 10, 2023https://github.com/angular/angular-cli/issues/26323#event-10924930373
JeanMechehttps://github.com/JeanMeche
angular/angularhttps://github.com/angular/angular
on Nov 10, 2023https://github.com/angular/angular-cli/issues/26323#event-10924930390
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on Nov 10, 2023https://github.com/angular/angular-cli/issues/26323#issuecomment-1805697796
#26175https://github.com/angular/angular-cli/pull/26175
https://github.com/Ozzcer
Ozzcerhttps://github.com/Ozzcer
on Nov 10, 2023https://github.com/angular/angular-cli/issues/26323#issuecomment-1805703770
@JeanMechehttps://github.com/JeanMeche
https://github.com/Ozzcer/angular-ssr-di-issue/blob/c08049cc39e2993eff903c29902826a1aa1f7d10/src/express.tokens.tshttps://github.com/Ozzcer/angular-ssr-di-issue/blob/c08049cc39e2993eff903c29902826a1aa1f7d10/src/express.tokens.ts
alan-agius4https://github.com/alan-agius4
needs: more infoReporter must clarify the issuehttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20more%20info%22
needs: more infoReporter must clarify the issuehttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20more%20info%22
on Nov 10, 2023https://github.com/angular/angular-cli/issues/26323#event-10925101613
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Nov 10, 2023https://github.com/angular/angular-cli/issues/26323#issuecomment-1805725258
https://github.com/Ozzcer
Ozzcerhttps://github.com/Ozzcer
on Nov 10, 2023https://github.com/angular/angular-cli/issues/26323#issuecomment-1805768277
documentationhttps://angular.dev/guide/ssr#enable-server-side-rendering
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Nov 10, 2023https://github.com/angular/angular-cli/issues/26323#issuecomment-1805808114
https://github.com/SaeedDev94
SaeedDev94https://github.com/SaeedDev94
on Nov 11, 2023https://github.com/angular/angular-cli/issues/26323#issuecomment-1806873714
https://github.com/Enngage
Enngagehttps://github.com/Enngage
on Nov 12, 2023https://github.com/angular/angular-cli/issues/26323#issuecomment-1807236224
https://github.com/eneajaho
eneajahohttps://github.com/eneajaho
on Nov 13, 2023https://github.com/angular/angular-cli/issues/26323#issuecomment-1807297119
https://github.com/push-based/ngx-fast-svg#ssr-usagehttps://github.com/push-based/ngx-fast-svg#ssr-usage
https://github.com/SaeedDev94
SaeedDev94https://github.com/SaeedDev94
on Nov 14, 2023https://github.com/angular/angular-cli/issues/26323#issuecomment-1809684133
alan-agius4https://github.com/alan-agius4
devkit/build-angular:dev-serverhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22devkit%2Fbuild-angular%3Adev-server%22
on Nov 15, 2023https://github.com/angular/angular-cli/issues/26323#event-10964739468
https://github.com/oriollpz
oriollpzhttps://github.com/oriollpz
on Nov 16, 2023https://github.com/angular/angular-cli/issues/26323#issuecomment-1814270462
https://github.com/jhereck
jhereckhttps://github.com/jhereck
on Sep 19, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2362375338
https://github.com/aaubry
aaubryhttps://github.com/aaubry
on Sep 20, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2363140143
alan-agius4https://github.com/alan-agius4
feat(@angular/build): utilize `ssr.entry` in Vite dev-server when available #28463https://github.com/angular/angular-cli/pull/28463
on Sep 20, 2024https://github.com/angular/angular-cli/issues/26323#event-14338810112
alan-agius4https://github.com/alan-agius4
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#28463https://github.com/angular/angular-cli/pull/28463
on Sep 23, 2024https://github.com/angular/angular-cli/issues/26323#event-14370109591
https://github.com/0ba100
0ba100https://github.com/0ba100
on Sep 24, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2369834256
https://github.com/fluoxa
fluoxahttps://github.com/fluoxa
on Sep 24, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2370908366
https://github.com/shady-ahmed-bdr
shady-ahmed-bdrhttps://github.com/shady-ahmed-bdr
on Sep 24, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2370934010
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Sep 24, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2370938786
https://github.com/zygarios
zygarioshttps://github.com/zygarios
on Sep 24, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2371252634
https://github.com/kewur
kewurhttps://github.com/kewur
on Sep 24, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2371482603
https://github.com/humanely
humanelyhttps://github.com/humanely
on Sep 24, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2371636861
https://github.com/jhereck
jhereckhttps://github.com/jhereck
on Sep 24, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2372027215
https://github.com/shady-ahmed-bdr
shady-ahmed-bdrhttps://github.com/shady-ahmed-bdr
on Sep 25, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2373564875
https://github.com/JeanMeche/ssr-v19https://github.com/JeanMeche/ssr-v19
mgechevhttps://x.com/mgechev
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Oct 26, 2024https://github.com/angular/angular-cli/issues/26323#issuecomment-2439067430
automatic conversation locking policyhttps://github.com/angular/angular/blob/f0fbced1c55bc8b8ed9df01cea99df42f3e7eae3/contributing-docs/auto-issue-locking.md
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Oct 26, 2024https://github.com/angular/angular-cli/issues/26323#event-14888067166
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/26323
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/26323
angular/build:dev-serverhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22angular%2Fbuild%3Adev-server%22
area: @angular/buildhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fbuild%22
freq3: highhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq3%3A%20high%22
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.