Skip to content

Implement statically typed output types #1

Description

@simar7

Currently there are no statically defined return outputs for every Store implementation as there are for inputs.

So this would possible look something like the following:

type Store interface {
	Set(input types.SetItemInput) (types.SetItemOutput, error)
	BatchSet(input types.BatchSetItemInput) (types.BatchSetItemOutput, error)
	Get(input types.GetItemInput) (types.GetItemOutput, error)
	Delete(input types.DeleteItemInput) (types.DeleteItemOutput, error)
	Close() error
	Scan(input types.ScanInput) (types.ScanOutput, error)
}

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions