Skip to content

fix: resolve serialization failure when calling call.end()#16

Open
cardouken wants to merge 1 commit intoGetStream:mainfrom
cardouken:fix-serialization
Open

fix: resolve serialization failure when calling call.end()#16
cardouken wants to merge 1 commit intoGetStream:mainfrom
cardouken:fix-serialization

Conversation

@cardouken
Copy link

Disable SerializationFeature.FAIL_ON_EMPTY_BEANS in ObjectMapper configuration to handle empty EndCallRequest objects. The previous configuration caused call.end() to fail with InvalidDefinitionException.

Submit a pull request

CLA

  • I have signed the Stream CLA (required).
  • The code changes follow best practices
  • Code changes are tested (add some information if not applicable)

Description of the pull request

Disables SerializationFeature.FAIL_ON_EMPTY_BEANS in ObjectMapper configuration to handle empty EndCallRequest objects. The previous configuration caused call.end() to fail with InvalidDefinitionException. Adds missing test.

Disable SerializationFeature.FAIL_ON_EMPTY_BEANS in ObjectMapper
configuration to handle empty EndCallRequest objects. The previous
configuration caused call.end() to fail with InvalidDefinitionException.
@cardouken
Copy link
Author

anyone?

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.

1 participant