We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1、json序列化器不支持序列化null对象,当api返回null是会出现序列化异常 2、json序列化器,在isError处理的时候,当errorMessage为null时,被意外处理成了非error
1、因为我们在进行异步服务的开发,所以在同步的rpc请求阶段,都是返回null对象;真正的业务代码是异步执行,结果单独返回的。 所以希望json序列化器能够支持序列化null对象。 2、我们主要是通过泛化进行调用,采用json序列化,依赖isError的标记处理逻辑;所以希望支持当业务明确抛出异常,不管异常类型中的errorMessage是否为空,都能识别为异常
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
1、json序列化器不支持序列化null对象,当api返回null是会出现序列化异常
2、json序列化器,在isError处理的时候,当errorMessage为null时,被意外处理成了非error
Expected behavior
1、因为我们在进行异步服务的开发,所以在同步的rpc请求阶段,都是返回null对象;真正的业务代码是异步执行,结果单独返回的。
所以希望json序列化器能够支持序列化null对象。
2、我们主要是通过泛化进行调用,采用json序列化,依赖isError的标记处理逻辑;所以希望支持当业务明确抛出异常,不管异常类型中的errorMessage是否为空,都能识别为异常
Actual behavior
Steps to reproduce
Minimal yet complete reproducer code (or GitHub URL to code)
Environment
The text was updated successfully, but these errors were encountered: