-
Notifications
You must be signed in to change notification settings - Fork 881
chore!: fix workspace apps response #17700
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is a hotfix and has been automatically approved.
- ✅ Base is main or release branch
- ✅ Has hotfix label
- ✅ Head is from coder/coder
- ✅ Less than 100 lines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait a sec, isn't it API breaking change?
I'm not sure since it was a "bug"... |
Hm.. can you link the real issue reported? |
There is no issue. It is just an ad-hoc improvement that would make our FE code more reliable since the types are now truly representing the API response. |
Fix WorkspaceApp response type to better reflect the schema from https://registry.terraform.io/providers/coder/coder/latest/docs/resources/app.
EDIT(ethanndickson): This is a breaking change as it adds
omitempty
to multiple fields in acodersdk
response type. API consumers that expect those fields to be always present may need to be updated.