petkostas opened a new pull request, #8583: URL: https://github.com/apache/incubator-devlake/pull/8583
### Summary GitHub GraphQL returns zero time (`&time.Time{}`) for `nullable` fields, this leads to GORM not properly handling this cases. This PR: - Introduces a new core helper util `NilIfZeroTime` in order to ensure that `*time.Time` fields are assigned the `nil` value. - Fixes the relevant cases in both collectors and extractors (as existing entries in the DB should be properly handled as well). ### Does this close any open issues? Closes #8538 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@devlake.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org