- Notifications
You must be signed in to change notification settings - Fork928
feat(coder): Add PATCH /templateversions/:templateversion endpoint#6698
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
Uh oh!
There was an error while loading.Please reload this page.
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.
Just minor comments.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
@@ -76,6 +76,10 @@ type TemplateVersionVariable struct { | |||
Sensitive bool `json:"sensitive"` | |||
} | |||
type PatchTemplateVersionRequest struct { |
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.
I think that I asked this question on slack, but it wasmissed.
Why in the first place we need to modify the template name? Why using the randomly generated one is bad?
BrunoQuaresmaMar 22, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
I think being able to add a custom name for the template version is way easier to identify and find it after IMO.
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.
Not sure if we need this feature considering the fact that everywhere we keep using the randomly generated.@bpmct what do you think?
Uh oh!
There was an error while loading.Please reload this page.
CI also complains about some unit tests. |
As agreed with@BrunoQuaresma, I will take it over to complete. |
@BrunoQuaresma I'm done with improvements. Could you please take a look and 👍 or 👎 ? |
if it's good by@mtojek it's good by me — i don't have the bandwidth to review this morning |
Uh oh!
There was an error while loading.Please reload this page.
Before adding tests, I would like to confirm I'm doing the right thing.
related to#6124