Title: Component Analysis API for `NgtscProgram` · Issue #30959 · angular/angular · GitHub
Open Graph Title: Component Analysis API for `NgtscProgram` · Issue #30959 · angular/angular
X Title: Component Analysis API for `NgtscProgram` · Issue #30959 · angular/angular
Description: Component Analysis API for NgtscProgram Relevant Package This feature request is for @angular/compiler-cli. Description This issue proposes exposing a new API on NgtscProgram that produces semantic information about components discovered...
Open Graph Description: Component Analysis API for NgtscProgram Relevant Package This feature request is for @angular/compiler-cli. Description This issue proposes exposing a new API on NgtscProgram that produces semantic...
X Description: Component Analysis API for NgtscProgram Relevant Package This feature request is for @angular/compiler-cli. Description This issue proposes exposing a new API on NgtscProgram that produces semantic...
Opengraph URL: https://github.com/angular/angular/issues/30959
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Component Analysis API for `NgtscProgram`","articleBody":"# Component Analysis API for `NgtscProgram`\r\n\r\n### Relevant Package\r\nThis feature request is for @angular/compiler-cli.\r\n\r\n### Description\r\nThis issue proposes exposing a new API on `NgtscProgram` that produces semantic information about components discovered in the program for use by an Angular indexer.\r\n\r\n[Design Document](https://hackmd.io/@X3ECPVy-RCuVfba-pnvIpw/BkDUxaW84/%2FwqhNytHfR--9h4OVdox87g?type=book) on Ivy Design Docs\r\n\r\n### Describe the solution you'd like\r\nAn API on `NgtscProgram` that generates semantic information about components, using the Ivy compilation pipeline (specifically `IvyCompilation` and `DecoratorHandler`s). Generation of semantic information will be housed in a new package `ngtsc/indexer`. More details on the [design document](https://hackmd.io/@X3ECPVy-RCuVfba-pnvIpw/BkDUxaW84/%2FwqhNytHfR--9h4OVdox87g?type=book).\r\n\r\n### Describe alternatives you've considered\r\n- Previously, extraction of semantic information about components was done via reliance on internal compiler APIs and unwrapping of private fields, which is not maintainable.\r\n- Another alternative is to expose fields on the Program and Compilation, but this is also undesirable as it eliminates opaqueness of the compiler.","author":{"url":"https://github.com/ayazhafiz","@type":"Person","name":"ayazhafiz"},"datePublished":"2019-06-10T18:50:36Z","url":"https://github.com/angular/angular/issues/30959"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:80587d49-2218-1ef0-79c4-58d503d43b22 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE12:EDA7A:1532165:1AF336B:6B012F49 |
| html-safe-nonce | 0e57249557fdd96e4ce948e7d9bd4f8308a6396c1923ff5dfb20fb1a0257a5a3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTEyOkVEQTdBOjE1MzIxNjU6MUFGMzM2Qjo2QjAxMkY0OSIsInZpc2l0b3JfaWQiOiI2Nzc3NjA1OTQzMTY3MDE1MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6af38d57d57248d89a3dcfd6ff098f458c06b5ca8c980e91e0bbdd0be6988904 |
| hovercard-subject-tag | issue:454315757 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/30959/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f1d43f876d5a1de3c02cc63739b7681b87039d506c613e073a90a36c68ad8e66/angular/angular/issues/30959 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f1d43f876d5a1de3c02cc63739b7681b87039d506c613e073a90a36c68ad8e66/angular/angular/issues/30959 |
| og:image:alt | Component Analysis API for NgtscProgram Relevant Package This feature request is for @angular/compiler-cli. Description This issue proposes exposing a new API on NgtscProgram that produces semantic... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ayazhafiz |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width