Title: Debug and automate XState typegen · Issue #456 · coder/coder · GitHub
Open Graph Title: Debug and automate XState typegen · Issue #456 · coder/coder
X Title: Debug and automate XState typegen · Issue #456 · coder/coder
Description: As a developer, I want my XState machines to be easy to write and strongly typed, so I can code quickly and have fewer bugs. XState typegen reduces the amount of boilerplate needed while increasing type safety by generating lots of type ...
Open Graph Description: As a developer, I want my XState machines to be easy to write and strongly typed, so I can code quickly and have fewer bugs. XState typegen reduces the amount of boilerplate needed while increasing...
X Description: As a developer, I want my XState machines to be easy to write and strongly typed, so I can code quickly and have fewer bugs. XState typegen reduces the amount of boilerplate needed while increasing...
Opengraph URL: https://github.com/coder/coder/issues/456
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Debug and automate XState typegen","articleBody":"As a developer, I want my XState machines to be easy to write and strongly typed, so I can code quickly and have fewer bugs.\r\n\r\nXState typegen reduces the amount of boilerplate needed while increasing type safety by generating lots of type information for you. It can runs automatically if you have the XState VSCode plugin installed, but there is also a CLI which #435 will add a script for, so you can run it with `yarn typegen`. However, it's important that the generated types stay up to date, so we should have CI run typegen before checking for TypeScript errors. \r\n\r\nAdditionally, typegen is not working correctly in #435 and I'm still having to use some boilerplate. I'm breaking this ticket out in the interest of reducing conflicts by holding onto that PR for too long. I've asked for help on the Stately Discord and was asked to make a repro so this ticket entails:\r\n\r\n- make a sandbox and try to reproduce my typegen errors\r\n- debug\r\n- add a CI job","author":{"url":"https://github.com/presleyp","@type":"Person","name":"presleyp"},"datePublished":"2022-03-16T00:35:13Z","url":"https://github.com/coder/coder/issues/456"}
| 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:71ac212c-08a8-da56-0090-83dafbc057d9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 95C4:24ACB9:1CF289C:25FFCCB:6B015039 |
| html-safe-nonce | 524bbf1ade0884be50ea898e8343d6884c60668699d66a6c1da28c644a9f6dcf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUM0OjI0QUNCOToxQ0YyODlDOjI1RkZDQ0I6NkIwMTUwMzkiLCJ2aXNpdG9yX2lkIjoiNTI4NjIzOTQ3MDQ2OTg2MTQzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | de90508e1d1c62ae794038566502174a8da25b30fbc5b4743389e2c377decebd |
| hovercard-subject-tag | issue:1170402353 |
| 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/456/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7e556f0928be0818b8af36529aae1c5e60d0093613fd3cad8770bcf4cd31a983/coder/coder/issues/456 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7e556f0928be0818b8af36529aae1c5e60d0093613fd3cad8770bcf4cd31a983/coder/coder/issues/456 |
| og:image:alt | As a developer, I want my XState machines to be easy to write and strongly typed, so I can code quickly and have fewer bugs. XState typegen reduces the amount of boilerplate needed while increasing... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | presleyp |
| 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