zenstack
zenstack copied to clipboard
VSCode Extension: cannot reference from extended model
Description and expected behavior I have a Base abstract model:
abstract model Base {
id String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
created_at DateTime @default(now())
updated_at DateTime @updatedAt()
deleted_at DateTime?
}
when I extend model extension cannot reference id in the policies
Screenshots
Environment (please complete the following information):
- ZenStack Language Tools version: v2.4.1