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

[P1] Can not decode nil field in response #59

Closed
felix021 opened this issue Nov 3, 2023 · 1 comment
Closed

[P1] Can not decode nil field in response #59

felix021 opened this issue Nov 3, 2023 · 1 comment
Assignees

Comments

@felix021
Copy link
Contributor

felix021 commented Nov 3, 2023

If the dubbo-java server returns a response with some field (e.g. of type String) not set (=null), kitex client will fail to decode.

We need to sort out the cases:

  1. Basic types defined as required/optional in IDL
  2. Composite types defined as requirede/optional in IDL
  3. Value assigned as null in the request, is it ok to be decoded by the server?
  4. Value assigned as null in the response, is it ok to be decoded by the client?

There might be some cases which is not correctly processed by Kitex.

After fixing issues and sorting out these cases, we can provide a more specific document to the user.

@felix021 felix021 changed the title Can not decode nil field in response [P1] Can not decode nil field in response Nov 15, 2023
@ahaostudy ahaostudy self-assigned this Nov 15, 2023
@felix021
Copy link
Contributor Author

felix021 commented Dec 2, 2023

Fixed in #70 , except for the usage of java wrapper class as request arguements or response (#69 )

@felix021 felix021 closed this as completed Dec 2, 2023
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