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

Use RpcRequest in createRpcMessage helper #3394

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

lorisleiva
Copy link
Contributor

@lorisleiva lorisleiva commented Oct 17, 2024

This PR changes the arguments of the createRpcMessage helper function so that it accepts an RpcRequest directly instead of accepting all the components inside a request (i.e. methodName and params).

We discussed this a little while ago with @mcintyre94 as, without this change, you sometimes need to express a request as an object and sometimes as its deconstructed version. This PR stack aims to embrace the RpcRequest object wherever applicable.

Copy link

changeset-bot bot commented Oct 17, 2024

🦋 Changeset detected

Latest commit: 56802c2

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@lorisleiva lorisleiva force-pushed the loris/move-rpc-request-response branch from 164e37c to ba813b0 Compare October 18, 2024 08:33
@lorisleiva lorisleiva force-pushed the loris/use-rpc-request-in-create-rpc-message branch from f892da6 to 66909f8 Compare October 18, 2024 08:33
@lorisleiva lorisleiva force-pushed the loris/move-rpc-request-response branch from ba813b0 to a9597b9 Compare October 18, 2024 09:20
@lorisleiva lorisleiva force-pushed the loris/use-rpc-request-in-create-rpc-message branch from 66909f8 to 2095d45 Compare October 18, 2024 09:20
@lorisleiva lorisleiva force-pushed the loris/move-rpc-request-response branch from a9597b9 to f1cee41 Compare October 18, 2024 09:28
@lorisleiva lorisleiva force-pushed the loris/use-rpc-request-in-create-rpc-message branch from 2095d45 to d064590 Compare October 18, 2024 09:28
@lorisleiva lorisleiva force-pushed the loris/move-rpc-request-response branch from f1cee41 to 580ac5d Compare October 18, 2024 13:12
@lorisleiva lorisleiva force-pushed the loris/use-rpc-request-in-create-rpc-message branch from d064590 to a981e35 Compare October 18, 2024 13:12
@lorisleiva lorisleiva force-pushed the loris/move-rpc-request-response branch from 580ac5d to b965d83 Compare October 21, 2024 11:11
@lorisleiva lorisleiva force-pushed the loris/use-rpc-request-in-create-rpc-message branch from a981e35 to 29a38f0 Compare October 21, 2024 11:11
@lorisleiva lorisleiva marked this pull request as ready for review October 22, 2024 08:34
Copy link
Contributor

@mcintyre94 mcintyre94 left a comment

Choose a reason for hiding this comment

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

Nice, looks good!

Copy link
Collaborator

@steveluscher steveluscher left a comment

Choose a reason for hiding this comment

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

Added via Giphy

Copy link
Contributor Author

lorisleiva commented Oct 23, 2024

Merge activity

  • Oct 23, 4:43 AM EDT: A user started a stack merge that includes this pull request via Graphite.
  • Oct 23, 4:50 AM EDT: Graphite rebased this pull request as part of a merge.
  • Oct 23, 4:51 AM EDT: A user merged this pull request with Graphite.

@lorisleiva lorisleiva changed the base branch from loris/move-rpc-request-response to graphite-base/3394 October 23, 2024 08:46
@lorisleiva lorisleiva changed the base branch from graphite-base/3394 to master October 23, 2024 08:48
@lorisleiva lorisleiva force-pushed the loris/use-rpc-request-in-create-rpc-message branch from 29a38f0 to 56802c2 Compare October 23, 2024 08:49
@lorisleiva lorisleiva merged commit db144da into master Oct 23, 2024
6 checks passed
@lorisleiva lorisleiva deleted the loris/use-rpc-request-in-create-rpc-message branch October 23, 2024 08:51
Copy link
Contributor

github-actions bot commented Nov 7, 2024

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants