Title: Codersdk: make workspace_build.deadline a pointer · Issue #2015 · coder/coder · GitHub
Open Graph Title: Codersdk: make workspace_build.deadline a pointer · Issue #2015 · coder/coder
X Title: Codersdk: make workspace_build.deadline a pointer · Issue #2015 · coder/coder
Description: What Change this type WorkspaceBuild struct { ... Deadline time.Time `json:"deadline"` ... To this: type WorkspaceBuild struct { ... Deadline *time.Time `json:"deadline"` ... Why The FE currently needs to check for the zero-value of time...
Open Graph Description: What Change this type WorkspaceBuild struct { ... Deadline time.Time `json:"deadline"` ... To this: type WorkspaceBuild struct { ... Deadline *time.Time `json:"deadline"` ... Why The FE currently n...
X Description: What Change this type WorkspaceBuild struct { ... Deadline time.Time `json:"deadline"` ... To this: type WorkspaceBuild struct { ... Deadline *time.Time `json:"deadline"` ... Wh...
Opengraph URL: https://github.com/coder/coder/issues/2015
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Codersdk: make workspace_build.deadline a pointer","articleBody":"# What\r\n\r\nChange this\r\n\r\n```\r\ntype WorkspaceBuild struct {\r\n ...\r\n Deadline time.Time `json:\"deadline\"`\r\n ...\r\n```\r\n\r\nTo this:\r\n\r\n```\r\ntype WorkspaceBuild struct {\r\n ...\r\n Deadline *time.Time `json:\"deadline\"`\r\n ...\r\n```\r\n\r\n# Why\r\n\r\nThe FE currently needs to check for the zero-value of `time.Time` for 'falsey' values.\r\nMaking this a pointer would allow passing `null` and avoid this need.","author":{"url":"https://github.com/johnstcn","@type":"Person","name":"johnstcn"},"datePublished":"2022-06-03T09:28:28Z","url":"https://github.com/coder/coder/issues/2015"}
| 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:d3db86b2-b392-b881-d9bd-11b76d32fa64 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C134:2E5652:1B25EC5:228C0B8:6B0152C5 |
| html-safe-nonce | b8796f8a7d2c6497d3d6158a163a1e66cd212470ea1d5972d61c922ca02573bc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTM0OjJFNTY1MjoxQjI1RUM1OjIyOEMwQjg6NkIwMTUyQzUiLCJ2aXNpdG9yX2lkIjoiMTA2NDEwNzMwMzYxNzI1NDA4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 80dc062e3a4edc3fe82344ed755fa7561c678b8707c834535741cc0f0751ad1e |
| hovercard-subject-tag | issue:1259678445 |
| 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/coder/coder/2015/issue_layout |
| twitter:image | https://opengraph.githubassets.com/69c227e57336e0e42a00291a08453c61ec54b57e02f0b48d9eaceb74fbf0ada0/coder/coder/issues/2015 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/69c227e57336e0e42a00291a08453c61ec54b57e02f0b48d9eaceb74fbf0ada0/coder/coder/issues/2015 |
| og:image:alt | What Change this type WorkspaceBuild struct { ... Deadline time.Time `json:"deadline"` ... To this: type WorkspaceBuild struct { ... Deadline *time.Time `json:"deadline"` ... Why The FE currently n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnstcn |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| 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