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

lib: fix json_encode for null values #44

Merged
merged 1 commit into from
Sep 21, 2023
Merged

lib: fix json_encode for null values #44

merged 1 commit into from
Sep 21, 2023

Conversation

efd6
Copy link
Collaborator

@efd6 efd6 commented Sep 20, 2023

The previous code would fail with "internal error: json encode mapping out of sync: type conversion error from 'null_type' to '*int'".

Removing the entry from encodableTypes allows the conversion look-up to fall through to the relevant protobuf type.

Please take a look.

The previous code would fail with "internal error: json encode mapping out of
sync: type conversion error from 'null_type' to '*int'".

Removing the entry from encodableTypes allows the conversion look-up to
fall through to the relevant protobuf type.
@efd6 efd6 added bug Something isn't working Team:Security-External Integrations Label for the Security External Integrations team labels Sep 20, 2023
@efd6 efd6 requested a review from a team September 20, 2023 23:14
@efd6 efd6 self-assigned this Sep 20, 2023
Copy link

@ShourieG ShourieG left a comment

Choose a reason for hiding this comment

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

LGTM

@efd6 efd6 merged commit eb8353d into dev Sep 21, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Team:Security-External Integrations Label for the Security External Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants