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

[BUG] <title>ReqeustMappingPlugin根据规则重构请求body的时,把value当作key替换了 #5919

Open
1 task done
CaoMaoLuFei opened this issue Jan 27, 2025 · 0 comments
Labels
type: bug Something isn't working

Comments

@CaoMaoLuFei
Copy link

CaoMaoLuFei commented Jan 27, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

ShenYu版本:2.7.0

这是我的规则配置

Image

代码里是这样写的:

Image

com.jayway.jsonpath.WriteContext#renameKey
这个方法的源码介绍是如下:

Image

应该使用 **com.jayway.jsonpath.WriteContext#put才对

Expected Behavior

No response

Steps To Reproduce

No response

Environment

ShenYu version(s):

Debug logs

No response

Anything else?

No response

@CaoMaoLuFei CaoMaoLuFei added the type: bug Something isn't working label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant