- Notifications
You must be signed in to change notification settings - Fork927
Closed
Description
Motivation
Context:#15054 (comment)
We have a hard-coded list of countries inhttps://github.com/coder/coder/blob/main/site/src/pages/SetupPage/countries.tsx
This unfortunately means that the Go code in coder/coder doesn't have an easy way of utilizing it.
Proposed solution
Generatecountries.tsx
from Go code. This would entail modifyingcountries.tsx
to Go syntax and using code generation to writecountries.tsx
.
This should be a relatively small lift as we have extensive code generation already in place. It could possibly be generated byscripts/apitypings
.