Skip to content

Enum Type Generation Duplication for Same Name Column of Tables #219

@therealsras

Description

@therealsras

🔖 Enhancement description

I have TableA (Status:enum), TableB (Status:enum), TableC (Status:enum)

when generating type by appwrite cli.

the result is

export type Status {}
export type Status {}
export type Status {}

=====

Maybe it should generate like

export type TableAStatus {}
export type TableBStatus {}
export type TableCStatus {}

🎤 Pitch

There is no reason to for me to name each columns with prefix table. I want it cleans.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions