Skip to content

[ICommand] should support Task<T>-returning methods #159

Closed

Description

@Sergio0694

Currently, [ICommand] will show an error if used on a method returning a Task<T> object, but that shouldn't be the case since such a method would be valid when used as argument for the constructors for an async relay command. The generator should reflect this and allow methods with this signature too.

Activity

  1. added
    bug 🐛An unexpected issue that highlights incorrect behavior
    next preview ✈️This changes will be available in the upcoming preview
    priority 🚩An issue or change that has priority
    on Mar 16, 2022
  2. self-assigned this
    on Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug 🐛An unexpected issue that highlights incorrect behaviormvvm-toolkit 🧰Issues/PRs for the MVVM Toolkitnext preview ✈️This changes will be available in the upcoming previewpriority 🚩An issue or change that has priority

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions