Title: Add the descendants option to ContentChild · Issue #31921 · angular/angular · GitHub
Open Graph Title: Add the descendants option to ContentChild · Issue #31921 · angular/angular
X Title: Add the descendants option to ContentChild · Issue #31921 · angular/angular
Description: 🚀 feature request Relevant Package @angular/core Description Similar but opposite to how the ContentChildren decorator has descendants option to query all descendants, I would like ContentChild to have an option to query only direct desc...
Open Graph Description: 🚀 feature request Relevant Package @angular/core Description Similar but opposite to how the ContentChildren decorator has descendants option to query all descendants, I would like ContentChild to ...
X Description: 🚀 feature request Relevant Package @angular/core Description Similar but opposite to how the ContentChildren decorator has descendants option to query all descendants, I would like ContentChild to ...
Opengraph URL: https://github.com/angular/angular/issues/31921
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add the descendants option to ContentChild","articleBody":"# 🚀 feature request\r\n\r\n### Relevant Package\r\n@angular/core\r\n\r\n### Description\r\nSimilar but opposite to how the `ContentChildren` decorator has descendants option to query all descendants, I would like `ContentChild` to have an option to query only direct descendants.\r\n\r\n### Describe the solution you'd like\r\n1. Add `descendants` as a metadata property for `ContentChild`\r\n2. If `descendants` is true or undefined, query all descendants (preserves current behavior)\r\n3. If `descendants` is false, query only direct descendants\r\n","author":{"url":"https://github.com/the-avid-engineer","@type":"Person","name":"the-avid-engineer"},"datePublished":"2019-07-30T23:13:02Z","url":"https://github.com/angular/angular/issues/31921"}
| 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:c37a9ba0-b639-0706-3066-fc5f5d985242 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDCC:14F601:E0DC92:1209834:6B00F42D |
| html-safe-nonce | e47d350d30d7093fb3d74ea8db5e668cecca1a0a01797330447eaea566876a97 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRENDOjE0RjYwMTpFMERDOTI6MTIwOTgzNDo2QjAwRjQyRCIsInZpc2l0b3JfaWQiOiI1MTk2NTMyMDY0ODExMjgzNTAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b906bdae1361e2d81f614938784069f26c30cc29a19e1439dbf3857c0367c9bb |
| hovercard-subject-tag | issue:474862588 |
| 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/31921/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d10883d7a7724a8089754ac5082fb845b6bccc5de85f109e73cc2e20e79e0f7d/angular/angular/issues/31921 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d10883d7a7724a8089754ac5082fb845b6bccc5de85f109e73cc2e20e79e0f7d/angular/angular/issues/31921 |
| og:image:alt | 🚀 feature request Relevant Package @angular/core Description Similar but opposite to how the ContentChildren decorator has descendants option to query all descendants, I would like ContentChild to ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | the-avid-engineer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width