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

Handle null contents gracefully in message passing API #657

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

HT154
Copy link
Contributor

@HT154 HT154 commented Sep 22, 2024

In messages "Read Resource Response" and "Read Module Response", if contents and error are both null, default to an empty byte array/string.

This resolves one of the issues reported in #656

In messages "Read Resource Response" and "Read Module Response", if `contents` and `error` are both null, default to an empty byte array/string.

This resolves one of the issues reported in apple#656
Copy link
Contributor

@bioball bioball left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for the fix!

@bioball bioball merged commit b072794 into apple:main Oct 1, 2024
5 checks passed
@HT154 HT154 deleted the client-resource-reader-null-contents branch October 3, 2024 03:57
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