Skip to content

chore: switch to generated types #1394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 12, 2022
Prev Previous commit
Next Next commit
Remove implemented omitempty as a future idea
This was implemented in 2d3dc43.
  • Loading branch information
code-asher committed May 11, 2022
commit 1de19868180ad7ca53418d6c6befd090ef5261fb
3 changes: 1 addition & 2 deletions scripts/apitypings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This main.go generates typescript types from the codersdk types in Go.
# Features

- Supports Go types
- [x] Basics (string/int/etc)
- [x] Basics (string/int/etc)
- [x] Maps
- [x] Slices
- [x] Enums
Expand Down Expand Up @@ -36,5 +36,4 @@ type InternalType struct {

# Future Ideas

- Should `omitempty` in the `json` tag indicate optional?
- Use a yaml config for overriding certain types