Skip to content

feat: body-transformer plugin for other data formats without warnings#10862

Merged
juststillthinking merged 3 commits into
apache:masterfrom
smileby:feat_body-transformer-disabled_warning
Jan 25, 2024
Merged

feat: body-transformer plugin for other data formats without warnings#10862
juststillthinking merged 3 commits into
apache:masterfrom
smileby:feat_body-transformer-disabled_warning

Conversation

@smileby

@smileby smileby commented Jan 23, 2024

Copy link
Copy Markdown
Contributor

Description

Fixes #10681

Adding another format to the input_format enum, none, that explicitly tells body-transformer to not try to parse or validate the body content and silences this warning would be convenient.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

Comment thread apisix/plugins/body-transformer.lua Outdated
@juststillthinking
juststillthinking merged commit 946a17e into apache:master Jan 25, 2024
@smileby
smileby deleted the feat_body-transformer-disabled_warning branch January 25, 2024 10:53
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.

feat: As a user, I want to to use the body-transformer plugin for other data formats without warnings

3 participants