Skip to content

Add Result<T> pattern to wrap API responses #21

Closed

Description

@daviwil

Instead of returning null from core API methods, a Result type should be returned which communicates the success or failure of the operation. If succeeded, the result value should be provided. Otherwise, error details should be provided.

Activity

  1. added this to the 0.1.0 milestone on Sep 23, 2015
  2. modified the milestone: on Dec 31, 2015
  3. daviwil commented on Dec 6, 2016

    @daviwil
    ContributorAuthor

    I don't think this is necessary anymore, closing it for now.

  4. modified the milestone: on May 24, 2017
  5. added a commit that references this issue on Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions