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

ContextValueFilter使用问题 #1090

Closed
TsukasaHwan opened this issue Feb 2, 2023 · 3 comments
Closed

ContextValueFilter使用问题 #1090

TsukasaHwan opened this issue Feb 2, 2023 · 3 comments
Labels
bug Something isn't working fixed question Further information is requested
Milestone

Comments

@TsukasaHwan
Copy link

请描述您的问题

询问有关本项目的使用和其他方面的相关问题。

实现ContextValueFilter接口的proccess方法时BeanContext获取不到Field,请问是有啥配置项需要配置嘛

@TsukasaHwan TsukasaHwan added the question Further information is requested label Feb 2, 2023
@TsukasaHwan
Copy link
Author

TsukasaHwan commented Feb 2, 2023

发现需要配置JSONWriter的FieldBased,但是在使用过程中出现了问题,使用嵌套对象出现这种格式:value: "{"swagger":"2.0"},期望为{"swagger": "2.0"}

@wenshao wenshao added the bug Something isn't working label Feb 2, 2023
@wenshao wenshao added this to the 2.0.24 milestone Feb 2, 2023
@wenshao
Copy link
Member

wenshao commented Feb 2, 2023

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.24-SNAPSHOT/
问题已修复,不用加FieldBased,请用2.0.24-SNAPSHOT版本帮忙验证,2.0.24-SNAPSHOT预计在2月中旬发布。

@wenshao wenshao added the fixed label Feb 2, 2023
@TsukasaHwan
Copy link
Author

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.24-SNAPSHOT/ 问题已修复,不用加FieldBased,请用2.0.24-SNAPSHOT版本帮忙验证,2.0.24-SNAPSHOT预计在2月中旬发布。

已验证,没问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants