-
Notifications
You must be signed in to change notification settings - Fork 893
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
Move RpcRequest and RpcResponse types to rpc-spec-types #3393
Conversation
🦋 Changeset detectedLatest commit: dccdeba 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 |
290bef4
to
9b9a3b5
Compare
164e37c
to
ba813b0
Compare
1c68cd2
to
601d031
Compare
ba813b0
to
a9597b9
Compare
f1cee41
to
580ac5d
Compare
601d031
to
ba88104
Compare
580ac5d
to
b965d83
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.
b965d83
to
dccdeba
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. |
One of the goals of this stack is to eventually make
RpcRequestTransformers
andRpcResponseTransformers
usable on both RPC and RPC Subscriptions architectures. This was the original intention of therpc-transformers
package which already hosts request and response transformers for both but with inconsistent types.As such, this PR aims to get closer to this goal by moving the
RpcRequest
,RpcResponse
,RpcRequestTransformer
andRpcResponseTransformer
types from therpc-spec
package to therpc-spec-types
package.As a reminder the
rpc-spec
andrpc-subscriptions-spec
packages define the interfaces of the RPC and RPC Subscriptions architectures respectively, whereas, therpc-spec-types
package is a utility package that is imported by both of the former packages.Note that, the
rpc-spec-types
package is now being exported from the main library because re-exporting that package in bothrpc
andrpc-subscriptions
would be problematic for the main library that re-exports both.Addresses #2983.