Skip to content

Commit

Permalink
omitempty.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Dec 12, 2024
1 parent 5b3ff02 commit 893ba01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debezium/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ type Field struct {
DebeziumType SupportedDebeziumType `json:"name"`
Parameters map[string]any `json:"parameters"`
// [ItemsMetadata] is only populated if the literal type is an array.
ItemsMetadata Item `json:"items"`
ItemsMetadata Item `json:"items,omitempty"`
}

func (f Field) GetScaleAndPrecision() (int32, *int32, error) {
Expand Down

0 comments on commit 893ba01

Please sign in to comment.