Skip to content

Table name is unknown in enum generation #98

@wuleninja

Description

@wuleninja

When generating code for enums, knowing the table can be useful.
For example, we could have 2 tables: contract and project, with each an enum named type.
In this case, if we generate a file for each enum in the same package, without the table name we get a collision.
Using the table name, we can generate 2 files / classes: ContractType and ProjectType.

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