Skip to content

Enum value documentations are missing in generated Prisma schema #1389

@trancong12102

Description

@trancong12102

Description and expected behavior
The generated Prisma schema is missing documentation for enum values.

Environment (please complete the following information):

  • ZenStack version: 2.0.1
  • Prisma version: 5.13.0
  • Database type: postgres

Additional context
schema.zmodel

/// UserRole Documentation
enum UserRole {
  /// User role documentation 1
  /// User role documentation 2
  USER
  /// Admin role documentation
  ADMIN
  MODERATOR
}

schema.prisma

/// UserRole Documentation
enum UserRole {
  USER
  ADMIN
  MODERATOR
}

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