Title: Add type inference for PSObject and Hashtable · Issue #7230 · PowerShell/PowerShell · GitHub
Open Graph Title: Add type inference for PSObject and Hashtable · Issue #7230 · PowerShell/PowerShell
X Title: Add type inference for PSObject and Hashtable · Issue #7230 · PowerShell/PowerShell
Description: Constructs like @{ Name = "Staffan", Size = 3 } is quite easy to infer types from, and the same is true for the conversion expression to [pscustomobject] @{ Name = "Staffan", Size = 3 } The same mechanisms that is needed to support synth...
Open Graph Description: Constructs like @{ Name = "Staffan", Size = 3 } is quite easy to infer types from, and the same is true for the conversion expression to [pscustomobject] @{ Name = "Staffan", Size = 3 } The same me...
X Description: Constructs like @{ Name = "Staffan", Size = 3 } is quite easy to infer types from, and the same is true for the conversion expression to [pscustomobject] @{ Name = "Staffan", Si...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/7230
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add type inference for PSObject and Hashtable","articleBody":"Constructs like \r\n```\r\n@{\r\n Name = \"Staffan\",\r\n Size = 3\r\n}\r\n``` \r\nis quite easy to infer types from, and the same is true for the conversion expression to \r\n\r\n```\r\n[pscustomobject] @{\r\n Name = \"Staffan\",\r\n Size = 3\r\n}\r\n```\r\n\r\nThe same mechanisms that is needed to support synthetic `PSTypeName`s could also be used to provide type inference for `Select-Object -Property` and the `Group` and `Value` propererties of the output of `Group-Object`\r\n\r\n\r\nNone of this is supported as of 6.1-preview 3.","author":{"url":"https://github.com/powercode","@type":"Person","name":"powercode"},"datePublished":"2018-07-03T22:29:11Z","url":"https://github.com/PowerShell/PowerShell/issues/7230"}
| 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:1c1f293c-0265-be56-0358-32fd37bea885 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C92A:2678BB:BC916:10D4CD:6AFDC0CB |
| html-safe-nonce | 96c65945bb1781ce592ab714518ced15911d31761cc2c0caa8bc9efa66541034 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTJBOjI2NzhCQjpCQzkxNjoxMEQ0Q0Q6NkFGREMwQ0IiLCJ2aXNpdG9yX2lkIjoiNDUzNDkxNTgzMzQ0ODQ4MDk3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ba6bc72943c831cc9115d3f5b93881126a4bc4f3a8996e3d1954fca3cec110b9 |
| hovercard-subject-tag | issue:338074204 |
| 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/PowerShell/PowerShell/7230/issue_layout |
| twitter:image | https://opengraph.githubassets.com/55d4b7db6ee3ff12122caaf1db334eafbdaa1d395e1ffe7ce240b123c49e3497/PowerShell/PowerShell/issues/7230 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/55d4b7db6ee3ff12122caaf1db334eafbdaa1d395e1ffe7ce240b123c49e3497/PowerShell/PowerShell/issues/7230 |
| og:image:alt | Constructs like @{ Name = "Staffan", Size = 3 } is quite easy to infer types from, and the same is true for the conversion expression to [pscustomobject] @{ Name = "Staffan", Size = 3 } The same me... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | powercode |
| hostname | github.com |
| expected-hostname | github.com |
| None | 35c6bf57da1370dc64866160540c0ee9f825f291935b3bf6ec5492b00e35f3a6 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | ab48c73a2978548773f5f24717ed9e58508befdb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width