prisma-client-go icon indicating copy to clipboard operation
prisma-client-go copied to clipboard

Add Go comments for triple-slash prisma doc comments

Open steebchen opened this issue 4 years ago • 0 comments

Triple-slash comments should land in the generated Go code.

model User {
  /// The user's email address
  email String
}

should generate

type User struct {
  // The user's email address
  Email string `json:"email"`
}

steebchen avatar Nov 01 '21 16:11 steebchen