-
Notifications
You must be signed in to change notification settings - Fork 907
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
Use RpcRequest in createRpcMessage helper #3394
Conversation
🦋 Changeset detectedLatest 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 |
164e37c
to
ba813b0
Compare
f892da6
to
66909f8
Compare
ba813b0
to
a9597b9
Compare
66909f8
to
2095d45
Compare
a9597b9
to
f1cee41
Compare
2095d45
to
d064590
Compare
f1cee41
to
580ac5d
Compare
d064590
to
a981e35
Compare
580ac5d
to
b965d83
Compare
a981e35
to
29a38f0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
29a38f0
to
56802c2
Compare
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. |
This PR changes the arguments of the
createRpcMessage
helper function so that it accepts anRpcRequest
directly instead of accepting all the components inside a request (i.e.methodName
andparams
).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.