Support @optional annotations
Opened this issue · 0 comments
danvk commented
Sometimes a column is optional for insert but pg-to-ts isn't able to tell that from the schema (e.g. it's filled in by a trigger). For cases like this it would be helpful to support an @optional
annotation on the column comment that overrides the default.