Title: Add Result
Open Graph Title: Add Result
X Title: Add Result
Description: Instead of returning null from core API methods, a Result type should be returned which communicates the success or failure of the operation. If succeeded, the result value should be provided. Otherwise, error details should be provided.
Open Graph Description: Instead of returning null from core API methods, a Result type should be returned which communicates the success or failure of the operation. If succeeded, the result value should be provided. Othe...
X Description: Instead of returning null from core API methods, a Result type should be returned which communicates the success or failure of the operation. If succeeded, the result value should be provided. Othe...
Opengraph URL: https://github.com/PowerShell/PowerShellEditorServices/issues/21
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add Result\u003cT> pattern to wrap API responses","articleBody":"Instead of returning `null` from core API methods, a Result\u003cT> type should be returned which communicates the success or failure of the operation. If succeeded, the result value should be provided. Otherwise, error details should be provided.\n","author":{"url":"https://github.com/daviwil","@type":"Person","name":"daviwil"},"datePublished":"2015-09-23T03:13:30Z","url":"https://github.com/PowerShell/PowerShellEditorServices/issues/21"}
| 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:5735d1b6-0c63-8f11-d419-1c5d26055caa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED7E:D0575:27769:3A3FD:6AFDCA15 |
| html-safe-nonce | a7feb456b1de5d6ed0c18b47eda90a54e7eaf2e4e8f9cee3fbe68296741cab1e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDdFOkQwNTc1OjI3NzY5OjNBM0ZEOjZBRkRDQTE1IiwidmlzaXRvcl9pZCI6IjE0MDgxODkxMjk1NDMyNDAyMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 98d06d8734caf8e9c7533101be6015b9cf89576c87374db3a02efe225b063d1c |
| hovercard-subject-tag | issue:107841934 |
| 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/PowerShellEditorServices/21/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b76e980a9e31111bfa12b498934b64ed39cb99708b9d85aa67460e75d2c04afb/PowerShell/PowerShellEditorServices/issues/21 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b76e980a9e31111bfa12b498934b64ed39cb99708b9d85aa67460e75d2c04afb/PowerShell/PowerShellEditorServices/issues/21 |
| og:image:alt | Instead of returning null from core API methods, a Result type should be returned which communicates the success or failure of the operation. If succeeded, the result value should be provided. Othe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daviwil |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9ab00cc3b4fa90bbd3da70765dd38efc23cfa9d9b0930e41feea2bf67f60ecaf |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShellEditorServices git https://github.com/PowerShell/PowerShellEditorServices.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 36031537 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShellEditorServices |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36031537 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShellEditorServices |
| 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 | 1b795ba060b92691fc16c5a12cf2bf95e83432b4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width