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))

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