Skip to content

Conversation

@purarue
Copy link

@purarue purarue commented Sep 18, 2025

model Product {
  id     String  @id @default(auto()) @map("_id") @db.ObjectId
  name   String
  photos Photo[]
}

I did not add support for the attributes (like @id @default(auto())) and such above, was not sure if those would be @parameter as well or @attribute? I don't see that many uses of attribute in the codebase, wasnt sure if that would make sense to use that.

So, just sticked to basic comment/field support for most commonly used things (model/enums/types (those look like structs, hence @class.outer))

@purarue purarue force-pushed the prisma branch 2 times, most recently from 22a0f25 to 32785cb Compare September 19, 2025 06:13
@purarue
Copy link
Author

purarue commented Jan 13, 2026

updated to make this match the new documentation format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant