Skip to content

fix: proper nullable types for Go code gen #898

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

Merged
merged 4 commits into from
Mar 5, 2025

Conversation

barrownicholas
Copy link
Contributor

What kind of change does this PR introduce?

Bug Fix: resolves #897

What is the current behavior?

Nullable types are not de-serializable

What is the new behavior?

Null-pointers allow proper serialization and better mimic proper use-case

Additional context

See #897 for full breakdown

Copy link
Member

@soedirgo soedirgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@soedirgo soedirgo enabled auto-merge (squash) February 25, 2025 08:18
auto-merge was automatically disabled February 27, 2025 17:36

Head branch was pushed to by a user without write access

@barrownicholas barrownicholas changed the title fix: proper nullable types fix: proper nullable types for Go code gen Feb 27, 2025
@barrownicholas
Copy link
Contributor Author

@soedirgo can you re-approve the tests for me? I had to re-factor a broken test.

@coveralls
Copy link

coveralls commented Mar 4, 2025

Pull Request Test Coverage Report for Build 13670517139

Details

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 75.32%

Totals Coverage Status
Change from base Build 13652875091: 0.0%
Covered Lines: 4908
Relevant Lines: 6430

💛 - Coveralls

@barrownicholas
Copy link
Contributor Author

@soedirgo looks like it wants another approval

@soedirgo soedirgo enabled auto-merge (squash) March 5, 2025 08:33
@soedirgo soedirgo merged commit 83c37d3 into supabase:master Mar 5, 2025
5 checks passed
avallete pushed a commit that referenced this pull request May 13, 2025
* fix: proper nullable types

* fix: unused imports

* fix: tests
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.

Go Generated Nullable Types Are Not Serializable
3 participants