Azure / Azure/Azure-Functions

Covariance and Contravariance in Task<TResult> CallActivityAsync<TResult>(string functionName, object input);

Open
#1,386 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

i am facing an issue while using CallActivityAsync with Covariance and Contravariance. Example:
If you have CallActivityAsync("RunFun",null);
this RunFun Returns List of child classes.
Base Class Ex: Human.
Child Class Ex: Male / Female.

When the CallActivityAsync finishes execution it return a list of BaseClass Correctly but items inside it also are BaseClass items not Male / Female items.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.