Skip to content

ZModel: DateTime field should supporting using string as @default #232

@ymc9

Description

@ymc9
model Model {
    id String @id
    date DateTime @default("2000-01-01T00:00:00Z")
}

Right now VSCode and zenstack complains "Value is not assignable to parameter".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions