You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System (please complete the following information):
OS: linux
GO Version: 1.21.0
Pkg Version: the master latest
Describe the bug
When using a custom filter ptrTrimStrings to trim whitespace from each string in a pointer to a slice of strings, the validation fails with a type conversion error.
The custom filter ptrTrimStrings should trim the whitespace from each string in the slice without any errors, and the validation should pass successfully.
Screenshots
N/A
Additional context
The error message received is:
"_filter": {
"_filter": "PtrStringSlice: convert value type error"
}
This suggests that there might be an issue with the filter function's return type or the way the library handles the conversion of filtered values for pointer to slice fields.
The text was updated successfully, but these errors were encountered:
System (please complete the following information):
linux
1.21.0
master
latestDescribe the bug
When using a custom filter
ptrTrimStrings
to trim whitespace from each string in a pointer to a slice of strings, the validation fails with a type conversion error.To Reproduce
Expected behavior
The custom filter
ptrTrimStrings
should trim the whitespace from each string in the slice without any errors, and the validation should pass successfully.Screenshots
N/A
Additional context
The error message received is:
This suggests that there might be an issue with the filter function's return type or the way the library handles the conversion of filtered values for pointer to slice fields.
The text was updated successfully, but these errors were encountered: