Skip to content

[typekit] getPlausibleName doesn't handle arrays, nested types, or scalars properly #6961

Open
@bterlson

Description

@bterlson

Describe the bug

Given a type like string[], getPlausableName should probably return StringArray or somesuch. Right now it just returns Array.

Given a type like string[][], I would expect StringArrayArray but we just get stringArray.

Given a type like Foo, we get stringFoo, but we should get StringFoo (since an array of scalars is not a scalar).

Reproduction

.

Checklist

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions