Skip to content

FormRequest ValidationHttpException breaks internal dispatcher requests #1014

@oliverkaiser

Description

@oliverkaiser

After upgrade to L5.2 internal api request break if my formrequest throws out any ValidationHttpException, external requests are working fine and are responding with the validation errors.

Type error: Argument 1 passed to Dingo\Api\Exception\InternalHttpException::__construct() must be an instance of Illuminate\Http\Response, instance of Symfony\Component\HttpFoundation\Response given, called in .../vendor/dingo/api/src/Dispatcher.php on line 543

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions