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

client无法获取服务端返回的metadata数据 #98

Open
T-Q-T opened this issue May 30, 2022 · 2 comments
Open

client无法获取服务端返回的metadata数据 #98

T-Q-T opened this issue May 30, 2022 · 2 comments

Comments

@T-Q-T
Copy link

T-Q-T commented May 30, 2022

需求:客户端能够获取服务端返回的meta信息
在client端,直接抛出了最终的res.data的结果,而没抛出其中的res.meta

@T-Q-T
Copy link
Author

T-Q-T commented May 30, 2022


在客户端接收服务端信息这里,直接将返回的请求体暴露出去,而不提供meta信息,希望能够获取服务端发送回来的meta信息

@mansonchor
Copy link
Contributor

meta 是 client - server 通讯感知的,并不是业务感知的,不应该返回给上层业务的

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

No branches or pull requests

2 participants