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

Update postgresql_type.go #3838

Closed
wants to merge 1 commit into from
Closed

Conversation

theAnuragMishra
Copy link
Contributor

Check notNull and emitPointersForNull before checking postgres driver

Check notNull and emitPointersForNull before checking postgres driver
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. 🔧 golang labels Feb 12, 2025
@benjaco
Copy link

benjaco commented Feb 13, 2025

Hi, it looked like you took a stab at #3837 thank you for giving it a shot

Why was this closed? I can see there is a lot of tests there fails, the question should then be if the new output is the desired or not? Is it to big of a breaking change? should it be behind a new flag?

It could be nice if it could be reopened so we can have the discausssion

@theAnuragMishra
Copy link
Contributor Author

Hey @benjaco !! I didn't want to just steal your idea. I had the same problem (time.Time instead of *time.Time being emitted). So I did a Google search that took me to your issue. I had done this kind of a pr before for sqlc. So I decided to do another.
Closed this one for another that I opened with a patch branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files. 🔧 golang
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants