Prisma-client-js: Missing documentation property in DMMF.Field and DMMF.Model

Created on 17 Aug 2019  路  2Comments  路  Source: prisma/prisma-client-js

My datamodel:

/// User model comment
model User {
  /// User model field comment
  id       String  @default(cuid()) @id @unique
}

When I log the dmmf datamodel, I have a documentation property:

image

image

But it is missing in typedefs:

image

image

bu2-confirmed kinbug

Most helpful comment

This is fixed in the latest alpha.

All 2 comments

I can confirm this.

It鈥檚 only relevant for tooling authors, users normally don鈥檛 import these types

This is fixed in the latest alpha.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

timsuchanek picture timsuchanek  路  4Comments

divyenduz picture divyenduz  路  3Comments

williamluke4 picture williamluke4  路  3Comments

nikolasburk picture nikolasburk  路  3Comments

samrith-s picture samrith-s  路  3Comments