mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
chore: disable parameter validatation for dynamic params for all transitions (#17926)
Dynamic params skip parameter validation in coder/coder. This is because conditional parameters cannot be validated with the static parameters in the database.
This commit is contained in:
@ -110,6 +110,10 @@ type CreateWorkspaceBuildRequest struct {
|
||||
LogLevel ProvisionerLogLevel `json:"log_level,omitempty" validate:"omitempty,oneof=debug"`
|
||||
// TemplateVersionPresetID is the ID of the template version preset to use for the build.
|
||||
TemplateVersionPresetID uuid.UUID `json:"template_version_preset_id,omitempty" format:"uuid"`
|
||||
// EnableDynamicParameters skips some of the static parameter checking.
|
||||
// It will default to whatever the template has marked as the default experience.
|
||||
// Requires the "dynamic-experiment" to be used.
|
||||
EnableDynamicParameters *bool `json:"enable_dynamic_parameters,omitempty"`
|
||||
}
|
||||
|
||||
type WorkspaceOptions struct {
|
||||
|
Reference in New Issue
Block a user