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

[Go] TypeEqual doesn't compare nullability in some cases #35763

Closed
hermanschaaf opened this issue May 25, 2023 · 0 comments · Fixed by #35764
Closed

[Go] TypeEqual doesn't compare nullability in some cases #35763

hermanschaaf opened this issue May 25, 2023 · 0 comments · Fixed by #35764
Assignees
Milestone

Comments

@hermanschaaf
Copy link
Contributor

Describe the bug, including details regarding any error messages, version, and platform.

Due to a bug in the code, when checking type equivalence for two lists and also checking metadata, TypeEqual returns true when nullability differs between the lists.

Component(s)

Go

@zeroshade zeroshade added this to the 13.0.0 milestone May 25, 2023
zeroshade pushed a commit that referenced this issue May 25, 2023
This fixes an edge case for list comparisons where TypeEqual would return true even when the nullability of the lists differed.
* Closes: #35763

Authored-by: Herman Schaaf <hermanschaaf@gmail.com>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants