- Notifications
You must be signed in to change notification settings - Fork914
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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. |
9fe5b71
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Fix WorkspaceApp response type to better reflect the schema fromhttps://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.