Skip to content

Support generics for send<string>(): string #94

Description

@gruckion

At present the Send function returns any. It would be nice it we could this to understand the type from the ICommandHandler<,> interface or by specifying a type when using Send as a generic.

  • Would anyone else like this feature?
  • Has anyone else started / considered this?
  • Are there any opinions on this, I might do it myself and would love some feedback
  • General comments of limitations / issues would be appreciated.

Context I am a mid-level developer.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions