21
0
Fork 0

v0.0.278 DYN-166 bugfix jsonfilter
Build Docker and Deploy / Run goext test-suite (push) Failing after 52s Details

This commit is contained in:
Timo Vetter 2023-10-05 12:54:07 +02:00
parent 7c40bcfd3c
commit 9cc0abf9e0
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.277"
const GoextVersion = "0.0.278"
const GoextVersionTimestamp = "2023-10-05T12:00:51+0200"
const GoextVersionTimestamp = "2023-10-05T12:54:07+0200"

View File

@ -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, ",")
}