elsa-workflows / elsa-workflows/elsa-core

GetFriendlyTypeName with an array of a generic type breaks

Open
#7,369 1 comment 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

## Description
When passing a e.g. `GenericClass[]` 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.