Title: DiagnosticRecord should support ToString() · Issue #1945 · PowerShell/PSScriptAnalyzer · GitHub
Open Graph Title: DiagnosticRecord should support ToString() · Issue #1945 · PowerShell/PSScriptAnalyzer
X Title: DiagnosticRecord should support ToString() · Issue #1945 · PowerShell/PSScriptAnalyzer
Description: Script Analyzer records use the default ToString(), which merely displays the type. This means that to test the result of a script analyzer record with a regex, one needs to dig into subproperties. It also means that records will not ren...
Open Graph Description: Script Analyzer records use the default ToString(), which merely displays the type. This means that to test the result of a script analyzer record with a regex, one needs to dig into subproperties....
X Description: Script Analyzer records use the default ToString(), which merely displays the type. This means that to test the result of a script analyzer record with a regex, one needs to dig into subproperties....
Opengraph URL: https://github.com/PowerShell/PSScriptAnalyzer/issues/1945
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DiagnosticRecord should support ToString()","articleBody":"Script Analyzer records use the default ToString(), which merely displays the type.\r\n\r\nThis means that to test the result of a script analyzer record with a regex, one needs to dig into subproperties.\r\n\r\nIt also means that records will not render ideally when stringified.\r\n\r\n**Proposed technical implementation details (optional)**\r\n\r\n`[Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord]` should override .ToString() method to output the message.\r\n\r\n\r\n","author":{"url":"https://github.com/StartAutomating","@type":"Person","name":"StartAutomating"},"datePublished":"2023-10-10T22:47:35Z","url":"https://github.com/PowerShell/PSScriptAnalyzer/issues/1945"}
| 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:dcab3696-9642-c664-a5de-4a1b2850affd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9A2:2A130F:24C2BA5:32E4CA5:6AFD2F3F |
| html-safe-nonce | 6cc87a3855203c660a5c1aca53807c1ea4bb32b97c59e54cd973dfdda5700fc1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUEyOjJBMTMwRjoyNEMyQkE1OjMyRTRDQTU6NkFGRDJGM0YiLCJ2aXNpdG9yX2lkIjoiNjYzOTk2MzcwMTMyNTQxMDExMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 18bf1963d5a02c2432b93395b95255a6a85a87885db6669380aafe775f19a8ae |
| hovercard-subject-tag | issue:1936396012 |
| 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/PSScriptAnalyzer/1945/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9f8d3da920aa2eb5d17cd963e344af5d812603da5b73c68913b779bf3c9b6eae/PowerShell/PSScriptAnalyzer/issues/1945 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9f8d3da920aa2eb5d17cd963e344af5d812603da5b73c68913b779bf3c9b6eae/PowerShell/PSScriptAnalyzer/issues/1945 |
| og:image:alt | Script Analyzer records use the default ToString(), which merely displays the type. This means that to test the result of a script analyzer record with a regex, one needs to dig into subproperties.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StartAutomating |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PSScriptAnalyzer git https://github.com/PowerShell/PSScriptAnalyzer.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 33149177 |
| octolytics-dimension-repository_nwo | PowerShell/PSScriptAnalyzer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33149177 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PSScriptAnalyzer |
| 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 | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width