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

fix: make Nullable handle significant null marshaling properly #22

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

ctrombley
Copy link

@ctrombley ctrombley commented Jan 31, 2024

This PR fixes some broken behavior with the Nullable generic type that surfaced when trying to put it into use. Significant nulls were not being marshaled properly, and the payloads were being created as if the attributes were unspecified. The offending code has been fixed and test cases have been updated.

The tests that existed before this PR did not accurately test the "significant null" marshaling case. The tests have been updated and the functionality is now working through the entire workspaces go-tfe integration test case.

@ctrombley ctrombley self-assigned this Jan 31, 2024
@ctrombley ctrombley merged commit 49e11fe into main Jan 31, 2024
5 checks passed
@ctrombley ctrombley deleted the feat/nullable branch January 31, 2024 17:35
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.

3 participants