Skip to content

GetFriendlyTypeName with an array of a generic type breaks #7369

@FuJa0815

Description

@FuJa0815

Description

When passing a e.g. GenericClass<string>[] to Elsa.Extensions.TypeExtensions.GetFriendlyTypeName, it returns the FullName (e.g. Namespace.GenericClass`1[[System.String, System, Version=...]][]) instead of a friendly name.

This for example breaks the C# evaluator in Elsa.Expressions.CSharp.Handlers.GenerateWorkflowVariableAccessors.HandleAsync when having an input of this type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions