Skip to content

Provide an light weight Either to allow Exception and Value to be represented as one value #8

Closed
@bbakerman

Description

@bbakerman

This could be used as a coming out of a BatchLoader.

That way people can represent values and capture exceptions better!

 DataLoader<String,Either<User>> dataLoader = ...

 Either<User> either = ...
 if (either.hasException() {
    println either.getException()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions