-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
In some cases I need to process found types, and using CustomHandler is not sufficient.
Acceptance Criteria:
- When method with ScanForTypes attribute returns Type[] or IEnumerable, and Handler is not specified - we return collection of found types (use collection expressions in return).
- When method with ScanForTypes attribute returns TResponse[] or IEnumerable, and Handler method returns TResponse (i.e. somehow maps found T type to TResponse type) - we return collection of found types mapped by Handler (use collection expressions in return).
- If Handler return type does not correspond to collection return type - report error.
- It is only supported for ScanForTypes attribute, not GenerateServiceRegistrations attribute.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels