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
1. What version of Go and system type/arch are you using?
go version go1.20.1 windows/amd64
2. What version of GoFrame are you using?
GoFrame CLI Tool v2.3.3
3. Can this issue be re-produced with the latest release?
YES
4. What did you do?
When I use the custom validation tag and registered it, I found that the default message cannot be displayed correctly. The placeholders for field and value are not replaced correctly.
5. What did you expect to see?
{"code": 51,
"msg": "The Address value 0xabcdefg is invalid",
"data": null
}
{
6. What did you see instead?
{"code": 51,
"msg": "The {field} value {value} is invalid",
"data": null
}
{
The text was updated successfully, but these errors were encountered:
1. What version of
Go
and system type/arch are you using?go version go1.20.1 windows/amd64
2. What version of
GoFrame
are you using?GoFrame CLI Tool v2.3.3
3. Can this issue be re-produced with the latest release?
YES
4. What did you do?
When I use the custom validation tag and registered it, I found that the default message cannot be displayed correctly. The placeholders for
field
andvalue
are not replaced correctly.5. What did you expect to see?
{"code": 51,
"msg": "The Address value 0xabcdefg is invalid",
"data": null
}
{
6. What did you see instead?
{"code": 51,
"msg": "The {field} value
{value}
is invalid","data": null
}
{
The text was updated successfully, but these errors were encountered: