Skip to content

Commit

Permalink
Skip is_nullable when false
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanck committed Jan 16, 2023
1 parent b3afc28 commit 98f59e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/command/jsonfunction/parameter.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type parameter struct {
Description string `json:"description,omitempty"`

// IsNullable is true if null is acceptable value for the argument
IsNullable bool `json:"is_nullable"`
IsNullable bool `json:"is_nullable,omitempty"`

// A type that any argument for this parameter must conform to.
// TODO? could we use cty.Type here instead of calling ctyjson.MarshalType manually?
Expand Down

0 comments on commit 98f59e1

Please sign in to comment.