sql-gen icon indicating copy to clipboard operation
sql-gen copied to clipboard

Fix : dependencies not detected when field type is Option<T>

Open vjau opened this issue 2 months ago • 0 comments

sql-gen has a function detect_dependencies in DbSetsFsWriter which automatically includes custom types defined elsewhere when they are use by each model generated. However, if the typeof the dependencies is enclosed in an Option enum, the dependency is not detected. This change fixes that.

vjau avatar Oct 21 '25 21:10 vjau