ehmpathy / sql-dao-generator

Generate data-access-objects from your domain-objects
MIT License
0 stars 0 forks source link

support `createdAt`, `effectiveAt`, and `versionId` as db-generated-values accessible to domain-object #3

Closed uladkasach closed 3 years ago

uladkasach commented 3 years ago

i.e., if someone specifies a domain object with effectiveAt as one of the properties - we should treat that similarly to them specifying a domain object with uuid as one of the properties: the dao pulls it in from autogenerated values

additionally, we should skip it from the sql-schema-generator and sql-schema-relationship properties (just like we skip id and uuid, the db-generated-values we currently support)

uladkasach commented 3 years ago

and updatedAt

uladkasach commented 3 years ago

done