-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Optional metadata for rxjs requesters #241
Conversation
aa9723e
to
0538234
Compare
lerna.json
Outdated
@@ -11,7 +11,7 @@ | |||
}, | |||
"version": { | |||
"push": false, | |||
"allowBranch": ["main", "1.0.x-alpha"] | |||
"allowBranch": ["main", "1.0.x-alpha", "feature/rxjs-adapter-optional-metadata"] |
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.
Temp change to allow publishing a prerelease for external testing.
@@ -48,21 +48,23 @@ export function fireAndForget<TData>( | |||
inputCodec: Codec<TData> | |||
): ( | |||
rsocket: RSocket, | |||
metadata: Map<string | number | WellKnownMimeType, Buffer> | |||
metadata?: Map<string | number | WellKnownMimeType, Buffer> |
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.
All requesters updated to consider metadata
optional.
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.
Looks great, thanks a lot for this!
Signed-off-by: Kevin Viglucci <kviglucci@gmail.com>
Signed-off-by: Kevin Viglucci <kviglucci@gmail.com>
- rsocket-adapter-rxjs@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-composite-metadata@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-core@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-examples@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-messaging@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-tcp-client@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-tcp-server@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-websocket-client@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-websocket-server@1.0.0-alpha-rxjs-adapter-optional-metadata.0 Signed-off-by: Kevin Viglucci <kviglucci@gmail.com>
Signed-off-by: Kevin Viglucci <kviglucci@gmail.com>
04c8858
to
862ae2e
Compare
* feat: support optional metadata in rxjs adapter requesters Signed-off-by: Kevin Viglucci <kviglucci@gmail.com> * chore(release): release - rsocket-adapter-rxjs@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-composite-metadata@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-core@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-examples@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-messaging@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-tcp-client@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-tcp-server@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-websocket-client@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-websocket-server@1.0.0-alpha-rxjs-adapter-optional-metadata.0 Signed-off-by: Kevin Viglucci <kviglucci@gmail.com>
* feat: support optional metadata in rxjs adapter requesters Signed-off-by: Kevin Viglucci <kviglucci@gmail.com> * chore(release): release - rsocket-adapter-rxjs@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-composite-metadata@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-core@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-examples@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-messaging@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-tcp-client@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-tcp-server@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-websocket-client@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-websocket-server@1.0.0-alpha-rxjs-adapter-optional-metadata.0 Signed-off-by: Kevin Viglucci <kviglucci@gmail.com>
* feat: support optional metadata in rxjs adapter requesters Signed-off-by: Kevin Viglucci <kviglucci@gmail.com> * chore(release): release - rsocket-adapter-rxjs@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-composite-metadata@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-core@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-examples@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-messaging@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-tcp-client@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-tcp-server@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-websocket-client@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-websocket-server@1.0.0-alpha-rxjs-adapter-optional-metadata.0 Signed-off-by: Kevin Viglucci <kviglucci@gmail.com>
* feat: support optional metadata in rxjs adapter requesters Signed-off-by: Kevin Viglucci <kviglucci@gmail.com> * chore(release): release - rsocket-adapter-rxjs@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-composite-metadata@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-core@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-examples@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-messaging@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-tcp-client@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-tcp-server@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-websocket-client@1.0.0-alpha-rxjs-adapter-optional-metadata.0 - rsocket-websocket-server@1.0.0-alpha-rxjs-adapter-optional-metadata.0 Signed-off-by: Kevin Viglucci <kviglucci@gmail.com>
Motivation:
Addressed feedback: #158 (comment)
Modifications:
Allow optional
metadata
argument in rxjs requestersResult:
Allows for:
Where previously passing
new Map()
would have been required.