client-go icon indicating copy to clipboard operation
client-go copied to clipboard

Type incompatibility with Project.LastBOMImport

Open bomoko opened this issue 9 months ago • 0 comments

First, thanks for client-go, it's super useful.

I'd like to report an oddity when creating a Project type. If I'm creating a project as an organizational unit (say as a parent for other projects), the "Last BOM Import" column gives us the start of the epoch as the date. If I create it with a curl call, or in the interface, it's empty.

Image

Presumably this is due to a type incompatibility in the Project.LastBOMImport, with the DB supporting empty values, but the golang struct not liking that very much.

bomoko avatar Apr 08 '25 22:04 bomoko