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

Make sure default for matching_type is applied for paginated streams endpoint too. #16522

Merged
merged 2 commits into from Sep 19, 2023

Conversation

dennisoelkers
Copy link
Member

Note: This needs a backport to 5.1.

Description

Motivation and Context

This PR is fixing an issue which was introduced in #14085. A slightly different code path is introduced for the paginated streams endpoint, which led to streams missing the matching_type field to fail deserializing, because the default for matching_type is not applied and a null value is passed instead to the builder method.

Fixes #16474.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@dennisoelkers dennisoelkers merged commit 8c78904 into master Sep 19, 2023
4 checks passed
@dennisoelkers dennisoelkers deleted the fix/issue-16474 branch September 19, 2023 11:28
dennisoelkers added a commit that referenced this pull request Sep 19, 2023
…s endpoint too. (#16522)

* Make sure default for `matching_type` is applied for paginated streams endpoint too.

* Adding changelog snippet.
janheise pushed a commit that referenced this pull request Sep 19, 2023
…s endpoint too. (#16522) (#16543)

* Make sure default for `matching_type` is applied for paginated streams endpoint too.

* Adding changelog snippet.
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.

Unhandled exception in REST resource
2 participants