Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to replace Serial with Integer #91

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

joshbwlng
Copy link
Contributor

Change-type: minor

@joshbwlng joshbwlng self-assigned this Dec 8, 2024
@joshbwlng joshbwlng requested a review from Page- December 9, 2024 00:30
src/generate.ts Outdated
@@ -34,6 +40,7 @@ const sqlTypeToTypescriptType = (
m: RequiredModelSubset,
f: AbstractSqlField,
mode: Mode,
opts?: Options,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the opts argument should be required on all functions except the exported abstractSqlToTypescriptTypes where it can be a default, ie opts: Options = {},

@joshbwlng joshbwlng force-pushed the joshbwlng/replace-serials branch from 9ffed15 to 479ac29 Compare December 12, 2024 07:16
@joshbwlng joshbwlng force-pushed the joshbwlng/replace-serials branch from 479ac29 to cdf0e4e Compare December 17, 2024 01:19
@joshbwlng joshbwlng marked this pull request as ready for review December 17, 2024 01:26
@joshbwlng joshbwlng merged commit abd1cfe into master Dec 17, 2024
54 checks passed
@joshbwlng joshbwlng deleted the joshbwlng/replace-serials branch December 17, 2024 01:26
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