-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
How to indicate a bool field may be nil in ORM dao generation? #2829
Comments
@chamhaw If nil, the bool filed is considered |
It mostly such as radios. The available options may be checked,unchecked, not-configured. The latter option explicitly means no user prompt and a system wide default value may be provided. Either checked or unchecked is possible. @gqcn |
1. What version of
Go
and system type/arch are you using?go version go1.20.4 darwin/arm64
2. What version of
GoFrame
are you using?v2.4.1
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
Added a colume to a table then used
make dao
5. What did you expect to see?
Wanna distinguish between nil and false.
6. What did you see instead?
CodeScan bool
The text was updated successfully, but these errors were encountered: