Skip to content

Multiple type definitions with the same name #189

@kunz1412

Description

@kunz1412

Hi,
I am facing an issue after I generated the ts types.
In contenstack I have created multiple content types with modular blocks. Each content type has one modular block with an unique id named "content". This seems valid from contentstack side. It mentions that the unique id of modular blocks have only to be unique of the content type itself.
Thats why in my generated ts type appears multiple type declarations for type Content.
I am guessing that the modular block types should be prefixed by their content type to avoid these type duplications.

Thanks in advance :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions