Skip to content

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

Merged
jayy-lmao merged 1 commit intojayy-lmao:mainfrom
vjau:fix-detect-depedencies
Jan 18, 2026
Merged

Fix : dependencies not detected when field type is Option<T>#23
jayy-lmao merged 1 commit intojayy-lmao:mainfrom
vjau:fix-detect-depedencies

Conversation

@vjau
Copy link
Contributor

@vjau vjau commented Oct 21, 2025

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.

@jayy-lmao jayy-lmao merged commit 7c6f497 into jayy-lmao:main Jan 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants