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

Wrap primitive and array parameter into an array as in JSON-RPC 2.0 #718

Merged
merged 1 commit into from Apr 11, 2023

Conversation

dhuebner
Copy link
Contributor

The counter part off my previous PR handling the unwrapping of primitiv and array parameter types as described in JSON-RPC 2.0.

Added more tests with different parameter types that hopefully makes clear what in wrapped/unwrapped.

See also: #553

@jonahgraham jonahgraham merged commit a526054 into main Apr 11, 2023
2 checks passed
@jonahgraham jonahgraham added this to the 0.21.0 milestone Apr 11, 2023
@jonahgraham jonahgraham deleted the dh-wrap-param branch April 11, 2023 15:44
@@ -42,6 +43,7 @@
import com.google.gson.JsonSyntaxException;
import com.google.gson.TypeAdapter;
import com.google.gson.TypeAdapterFactory;
import com.google.gson.internal.Primitives;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dhuebner Can you please have a look at #738 in relation to this new package dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jonahgraham
Sure, will do. Thanks!

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