Skip to content

Replace tuple return value for API user to get both raw and translated data #84

Description

@lisad

An API that returns tuples, especially if the tuples contain lists, is hard for API users to use successfully and robustly. Yet we want API users to get both/either, without making extra network requests.

We should consider either making a Fetch object that can be constructed and then when successfully invoked will hold the raw and translated data both, or a FetchResult object that is returned by a method and the result object holds the raw and translated data.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions