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

Request 与 Response 中的 meta 变量变成 Map<String, Object> 类型方便传值 #15

Closed
wants to merge 2 commits into from

Conversation

ywjno
Copy link

@ywjno ywjno commented Sep 14, 2016

Request 与 Response 中的 meta 变量变成 Map<String, Object> 类型方便传值, #14

@zhegexiaohuozi
Copy link
Owner

1,你这里没有考虑分布式模式场景下,从redis中反序列话回来的map中object都会变成JSONObject(由于采用fastjson进行序列化和反序列化,更有助于将将通讯协议标准化相对于二进制流),对于很多开发这来说这里他们会认为是标准的object,那么这里会造成更多困惑和不解。所以框架层面上会去主动要求开发者知道知己放入的是什么以及如何转回自己想要的结果。
2,这个bug可以再单独提交下

@ywjno
Copy link
Author

ywjno commented Dec 5, 2016

要是这样考虑的话我就用json来进行传值,然后再转成想要的数据类型

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.

None yet

2 participants