Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 7c2ceac

Browse files
committed
Fix test failures
1 parent 21b4945 commit 7c2ceac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

request.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,9 @@ func handlePointer(attribute interface{}, args []string, fieldType reflect.Type,
558558
case map[string]interface{}:
559559
var err error
560560
concreteVal, err = handleStruct(attribute, args, fieldType, fieldValue)
561+
if err != nil {
562+
return reflect.Value{}, ErrUnsupportedPtrType(reflect.ValueOf(attribute), fieldType, structField)
563+
}
561564
return concreteVal.Elem(), err
562565
default:
563566
return reflect.Value{}, ErrUnsupportedPtrType(reflect.ValueOf(attribute), fieldType, structField)

0 commit comments

Comments
 (0)