valentinpalkovic / prisma-json-schema-generator

A generator for Prisma 2 to generate a valid JSON Schema (v7)
MIT License
276 stars 31 forks source link

A question - @unique, @default, @relation{ references } #1497

Open janbkrejci opened 1 month ago

janbkrejci commented 1 month ago

Hello,

first of all, thanks for this magnificent code.

I wonder if there is any possible way to include information about @_unique-ness, functional default values (i.e. @_default(now()) and attributes that are involved in references (i.s. @_relation{ ... references: [id] } in the output?

Thanks in advance and best regards

Jan