v0.0.256 bind header
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m4s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m4s
This commit is contained in:
parent
cd68af8e66
commit
43cac4b3bb
@ -116,7 +116,7 @@ func (pctx PreContext) Start() (*AppContext, *gin.Context, *HTTPResponse) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if pctx.header != nil {
|
if pctx.header != nil {
|
||||||
if err := pctx.ginCtx.ShouldBindHeader(pctx.query); err != nil {
|
if err := pctx.ginCtx.ShouldBindHeader(pctx.header); err != nil {
|
||||||
err = exerr.Wrap(err, "Failed to read header").
|
err = exerr.Wrap(err, "Failed to read header").
|
||||||
WithType(exerr.TypeBindFailHeader).
|
WithType(exerr.TypeBindFailHeader).
|
||||||
Str("struct_type", fmt.Sprintf("%T", pctx.query)).
|
Str("struct_type", fmt.Sprintf("%T", pctx.query)).
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package goext
|
package goext
|
||||||
|
|
||||||
const GoextVersion = "0.0.255"
|
const GoextVersion = "0.0.256"
|
||||||
|
|
||||||
const GoextVersionTimestamp = "2023-08-24T09:47:32+0200"
|
const GoextVersionTimestamp = "2023-08-28T10:44:38+0200"
|
||||||
|
Loading…
Reference in New Issue
Block a user