diff --git a/response.go b/response.go index bee7e8f..3f8ab73 100644 --- a/response.go +++ b/response.go @@ -270,6 +270,9 @@ func visitModelNode(model interface{}, included *map[string]*Node, // We had a JSON float (numeric), but our field was not one of the // allowed numeric types er = ErrBadJSONAPIID + } + + if er != nil { break }