We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c371e2d commit c592fd0Copy full SHA for c592fd0
qbclient/model.go
@@ -26,8 +26,8 @@ type Field struct {
26
27
// Advanced
28
AutoFill bool `json:"doesDataCopy,omitempty" cliutil:"option=auto-fill"`
29
- Searchable bool `json:"findEnabled" cliutil:"option=searchable"` // Defaults to true, so we cannot omitempty.
30
- AddToNewReports bool `json:"appearsByDefault" cliutil:"option=add-to-reports"` // Defaults to true, so we cannot omitempty.
+ Searchable bool `json:"findEnabled" cliutil:"option=searchable default=true func=boolstring"`
+ AddToNewReports bool `json:"appearsByDefault" cliutil:"option=add-to-reports default=true func=boolstring"`
31
FieldHelpText string `json:"fieldHelp,omitempty" cliutil:"option=help-text"`
32
TrackField bool `json:"audited,omitempty" cliutil:"option=track-field"`
33
0 commit comments