araera111 / mysql-to-zod

convert mysql schemas into Zod Schemas
https://mysql-to-zod.pages.dev/
2 stars 1 forks source link

Support config setting for filename of globalSchema.ts #171

Closed TonyGravagno closed 1 month ago

TonyGravagno commented 1 month ago

Description: A new options.output.globalSchemaFileName setting allows changing the default "globalSchema.ts" filename to anything else. the import in the schema file ( default "schema.ts" ) properly refers to this file.

This feature is now available in https://github.com/TonyGravagno/mysql-to-zod/tree/tg-dynamic-global-1

The tg-dynamic-global-1 branch is based on https://github.com/TonyGravagno/mysql-to-zod/tree/tg-save-sql-2, documented in #157 and easily merges with core after that enhancement is merged to support setting the sqlFileName.

This feature is also related to #156 .

araera111 commented 1 month ago

Thank you for the update. I wanted to let you know that with the merge of #181, this feature has been integrated into the develop branch.