go-jet / jet

Type safe SQL builder with code generation and automatic query result data mapping
Apache License 2.0
2.23k stars 110 forks source link

Simplify SQL Builder and Model types generation #295

Closed kcmvp closed 5 months ago

kcmvp commented 7 months ago

Is your feature request related to a problem? Please describe. According to the document, the generator need a running database to generate the model& builder, in the daily development it’s not so convenient. **Describe the solution you'd May be we can use a sql parser to parse the schema file to generate the stuffs, for those stuffs the schema sql file is enough.

houten11 commented 7 months ago

This has been proposed before. Check this discussions: https://github.com/go-jet/jet/discussions/150, https://github.com/go-jet/jet/discussions/165