Skip to content

[Bug]: issue creating Arrays using TypeKit #7469

@p-bakker

Description

@p-bakker

Describe the bug

See this discussion: https://discord.com/channels/1247582902930116749/1375144881739272272

According to the discussion:

  • array.create(type) === array.create(type); ought to yield true, but always yields false
  • creating arrays using ${context.program}.array.create(type); yields an array instance without NameSpace and using these as type on ModelProperties will result in errors when emitting OAS or JSONSchema, due to duplicate names (likely icw @visibility options?)

Reproduction

See https://discord.com/channels/1247582902930116749/1375144881739272272

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions