You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, possibly a weird feature request, but would it be reasonable to add a -force-null flag to force all fields to appearNULLable?
It seems to be the norm where I work to use sql.Null* for everything, including for columns that are NOT NULL. There are some arguments I could give for and against this practice, but in general it seems like it'd be a roadblock (at least at my shop) to adoption of an otherwise perfect developer tool.
I'm guessing it'd be simple enough implementation-wise that I could write a PR for this, but I wanted to test the waters first
The text was updated successfully, but these errors were encountered:
But I'm ok with that! Do you want to give it a try? Should we respect the existing -null flag: whenever -force-null is given, use the style as optionally given by -null as well?
Hi, possibly a weird feature request, but would it be reasonable to add a
-force-null
flag to force all fields to appearNULL
able?It seems to be the norm where I work to use
sql.Null*
for everything, including for columns that areNOT NULL
. There are some arguments I could give for and against this practice, but in general it seems like it'd be a roadblock (at least at my shop) to adoption of an otherwise perfect developer tool.I'm guessing it'd be simple enough implementation-wise that I could write a PR for this, but I wanted to test the waters first
The text was updated successfully, but these errors were encountered: