-
Notifications
You must be signed in to change notification settings - Fork 19
feat: Add option to enable compression of event payloads #102
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
Conversation
9641ec0 to
7ceefae
Compare
7ceefae to
02f7b77
Compare
c1ba366 to
02501df
Compare
|
|
||
| // mut is needed for event-compression feature | ||
| #[allow(unused_mut)] | ||
| let mut additional_headers = self.default_headers.clone(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be not worth it in terms of readability, but possibly this could conditionally be mut if event-compression is enabled, and not mut otherwise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to do the same thing with the json bit above, so the readability doesn't seem good. I'm inclined to leave it.
🤖 I have created a release *beep* *boop* --- ## [2.4.0](2.3.0...2.4.0) (2024-12-05) ### Features * Add option to enable compression of event payloads ([#102](#102)) ([5cc7aac](5cc7aac)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
No description provided.