Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.