Skip to content

Returning multiple errorsΒ #205

@freiksenet

Description

@freiksenet

Recent patch added ability to return Error from resolve to indicate failure. In a scenarios where validation happens in the resolve, it would be useful to be able to return multiple errors from one resolve.

I am not sure what would be the best way to do it, but otherwise I am willing to implement it. One way I see is to always check if result is a array and then check if elements of that list are all Errors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions