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

Provide a proxy class to make method calls neater #314

Merged
merged 1 commit into from
May 29, 2024

Conversation

tom-binary
Copy link
Contributor

@tom-binary tom-binary commented May 29, 2024

Instead of:

 $srv->call_rpc(method_name => ...);

it looks more consistent with the rest of the code to be doing this:

 $srv->method_name(...)

and with introspection we'll be able to construct classes and provide "method not found" semantics later this way.

Instead of:

 $srv->call_rpc(method_name => ...);

it looks more consistent with the rest of the code to be doing this:

 $srv->method_name(...)

and with introspection we'll be able to construct classes and provide
"method not found" semantics later this way.
@tom-binary tom-binary merged commit 6c336a6 into deriv-com:master May 29, 2024
1 check passed
@tom-binary tom-binary deleted the feature/rpc_proxy branch May 29, 2024 17:22
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.

1 participant