Skip to content

No QueryAsync overload which accepts CommandDefinition, for cancellation, and Type array, for unbounded map #2193

Description

@tomupson

As per the title, there's no QueryAsync overload which accepts a CommandDefinition and a Type[] + Func<object[], TReturn> mapper, which means if you have > 7 types you want to map out of your query, and you want the query to be cancellable, you're out of luck. Not sure if this is intentional, but I do see the private method MultiMapAsync<TReturn>, which is called into by many of the existing overloads, does appear to support this variation. Any guidance on how to resolve would be greatly appreciated, thanks!

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