Skip to content

Commit

Permalink
Process all the fields in top level request object even if it contain…
Browse files Browse the repository at this point in the history
…s request body
  • Loading branch information
andrewnester committed Jan 15, 2025
1 parent dd55441 commit c673b0b
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .codegen/service.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func new{{.PascalName}}() *cobra.Command {
{{- end}}
{{$method := .}}
{{ if not .IsJsonOnly }}
{{range $request.Fields -}}
{{range .AllFields -}}
{{- if not .Required -}}
{{if .Entity.IsObject }}// TODO: complex arg: {{.Name}}
{{else if .Entity.IsAny }}// TODO: any: {{.Name}}
Expand Down
4 changes: 4 additions & 0 deletions cmd/account/federation-policy/federation-policy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions cmd/workspace/apps/apps.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions cmd/workspace/clean-room-assets/clean-room-assets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions cmd/workspace/clean-rooms/clean-rooms.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions cmd/workspace/lakeview/lakeview.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions cmd/workspace/online-tables/online-tables.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c673b0b

Please sign in to comment.