sqlc
sqlc copied to clipboard
NullX comment has wrong type
Version
Other
What happened?
I got this output when updating to v1.15.0:
type DeliveryStrategy string
+type NullDeliveryStrategy struct {
+ DeliveryStrategy DeliveryStrategy
+ Valid bool // Valid is true if String is not NULL
+}
I think the comment should read "if DeliveryStrategy is not NULL" because there's no property named String.
This should be fairly easy to reproduce so not including more info.
Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
No response
What operating system are you using?
No response
What database engines are you using?
No response
What type of code are you generating?
No response