Skip to content

Implement statically typed output types #1

@simar7

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)
}

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