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

Change Result type in batching requests methods #477

Closed
franciszekjob opened this issue May 24, 2024 · 0 comments · Fixed by #478
Closed

Change Result type in batching requests methods #477

franciszekjob opened this issue May 24, 2024 · 0 comments · Fixed by #478
Assignees
Labels
enhancement New feature or request

Comments

@franciszekjob
Copy link
Collaborator

franciszekjob commented May 24, 2024

Feature Request

Currently JsonRpcProvider methods for batching requests (batchRequests and batchRequestsAny) return values wrapped in kotlin's Result. It works in Kotlin but there is no support for it in Java (due to value inside inline class), therefore we cannot access result values. Result needs to be changed to a custom wrapper type.

@franciszekjob franciszekjob added the enhancement New feature or request label May 24, 2024
@franciszekjob franciszekjob changed the title Change Result wrapper in batching requests methods Change Result wrapper type in batching requests methods May 24, 2024
@franciszekjob franciszekjob changed the title Change Result wrapper type in batching requests methods Change Result type in batching requests methods May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant