Hi everyone. Does `///` comments work on enum valu...
# orm-help
r
Hi everyone. Does
///
comments work on enum values? https://www.prisma.io/docs/concepts/components/prisma-schema#comments
n
@Richard Kaufman-L贸pez 馃憢 There is already a feature request to support
///
comments on enum values which is not supported yet_._ Could you please leave a 馃憤 so that prisma team could prioritise it. Below enum would have the following
dmmf
Copy code
/// This is a user role which is added by comment
enum UserRole {
  ADMIN ///this comment is not yet supported
  USER
  SECURITY
}
Copy code
{
  "UserRole": {
    "name": "UserRole",
    "values": [
      {
        "name": "ADMIN",
        "dbName": null
      },
      {
        "name": "USER",
        "dbName": null
      },
      {
        "name": "SECURITY",
        "dbName": null
      }
    ],
    "dbName": null,
    "documentation": "This is a user role which is added by comment"
  }
}
r
Thanks @Nurul Upvoted!
馃憤 1
馃挴 1
cc @Luis Alfredo Lorenzo