Skip to content

feat: support nested structs, structured arrays, and better secret value handling in config #4727

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 16 commits into from
Oct 25, 2022
Prev Previous commit
Next Next commit
lint
  • Loading branch information
f0ssel committed Oct 24, 2022
commit c28069241fe9fd5aa930b8e704efe0ab17466efa
2 changes: 1 addition & 1 deletion codersdk/deploymentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ type DeploymentConfigField[T Flaggable] struct {
}

// MarshalJSON removes the Value field from the JSON output of any fields marked Secret.
// nolint: revive
// nolint:revive
func (f *DeploymentConfigField[T]) MarshalJSON() ([]byte, error) {
if !f.Secret {
return json.Marshal(struct {
Expand Down