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

Update relative middleware support #161

Merged
merged 46 commits into from
Aug 30, 2023
Merged

Conversation

jterapin
Copy link
Contributor

@jterapin jterapin commented Aug 28, 2023

Description of changes:
Current implementation of the Relative middleware raises an error when a middleware specifies a Relative that does not exist. The behavior that we want to adjust is that if that Relative is not a required middleware, the middleware stack ordering should proceed as normal. This PR will address this modification.

In addition to the above, the following has been added/revised:

  • Documentation for relative middleware class
  • Added specs to cover relative middleware ordering
  • Added a CodegenException to cover cases when a streaming body has a httpChecksumRequired trait
  • Update existing compression specs to cover a streaming pipe body
  • Changed FINALIZE step to SIGN to match with Hearth.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jterapin jterapin marked this pull request as ready for review August 28, 2023 21:57
Copy link
Contributor

@alextwoods alextwoods left a comment

Choose a reason for hiding this comment

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

Nice! looking good, just some minor comments.

Copy link
Contributor

@mullermp mullermp left a comment

Choose a reason for hiding this comment

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

Nice!

Copy link
Contributor

@alextwoods alextwoods left a comment

Choose a reason for hiding this comment

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

Nice - LGTM!

@jterapin jterapin merged commit e831ab9 into main Aug 30, 2023
20 checks passed
@jterapin jterapin deleted the update_relative_middleware branch August 30, 2023 19:47
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