v0.0.278 DYN-166 bugfix jsonfilter
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 52s
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 52s
This commit is contained in:
@@ -1326,7 +1326,7 @@ func typeFields(t reflect.Type) structFields {
|
||||
|
||||
var jsonfilter []string
|
||||
jsonfilterTag := sf.Tag.Get("jsonfilter")
|
||||
if isValidTag(jsonfilterTag) {
|
||||
if jsonfilterTag != "" && jsonfilterTag != "-" {
|
||||
jsonfilter = strings.Split(jsonfilterTag, ",")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user