Skip to content
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

[Time] Addressing type safety #818

Merged
merged 1 commit into from
Jul 26, 2024
Merged

[Time] Addressing type safety #818

merged 1 commit into from
Jul 26, 2024

Conversation

Tang8330
Copy link
Contributor

@Tang8330 Tang8330 commented Jul 26, 2024

We should not be returning ext.ExtendedTime here since if it returned nil, it would hinder the actual nil check of the caller if the caller expected the value type to be any.

https://go.dev/play/p/YCcxbjF5ne3

@Tang8330 Tang8330 marked this pull request as ready for review July 26, 2024 18:08
@Tang8330 Tang8330 requested a review from danafallon July 26, 2024 18:08
@Tang8330 Tang8330 merged commit b4c6741 into master Jul 26, 2024
3 checks passed
@Tang8330 Tang8330 deleted the bq-debug branch July 26, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants