-
Notifications
You must be signed in to change notification settings - Fork 53
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
Core: Update XREAD
value_conversion to return Map<Map<String[]>>
#1494
Core: Update XREAD
value_conversion to return Map<Map<String[]>>
#1494
Conversation
XREAD
value_conversion to return Map<Map<String[]>>
Is return type |
Rust CI fails. |
89e7529
to
e31c756
Compare
/// If `None` is given, then the key is not converted. | ||
/// `value_type` is used to convert each value when collecting into the resulting map. | ||
/// If `None` is given, then the value is not converted. | ||
fn convert_inner_map_by_type( |
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.
isn't it the same as Yuri did in #1489 in convert_map_entries? please reuse it
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.
It is similar. Although this PR is much more general since it applies to, and can override all existing Map conversions.
f078f04
to
1617da0
Compare
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
1617da0
to
e956bb6
Compare
Signed-off-by: Andrew Carbonetto <[email protected]>
…alkey-io#1494) * Update XREAD to read a Map of Map Signed-off-by: Andrew Carbonetto <[email protected]> * Add changelog Signed-off-by: Andrew Carbonetto <[email protected]> * Fix test Signed-off-by: Andrew Carbonetto <[email protected]> * Node lint Signed-off-by: Andrew Carbonetto <[email protected]> * cargo fmt Signed-off-by: Andrew Carbonetto <[email protected]> * Update CHANGELOG Signed-off-by: Andrew Carbonetto <[email protected]> * Change XREAD value_conversion to recursive maps Signed-off-by: Andrew Carbonetto <[email protected]> * Add Node examples for XREAD; minor updates to value_conversion Signed-off-by: Andrew Carbonetto <[email protected]> * XREAD to array pairs Signed-off-by: Andrew Carbonetto <[email protected]> * Core: XREAD returns array of pairs Signed-off-by: Andrew Carbonetto <[email protected]> * Node: XREAD change reponse to array of pairs Signed-off-by: Andrew Carbonetto <[email protected]> * Revert java changes Signed-off-by: Andrew Carbonetto <[email protected]> * Cargo fmt Signed-off-by: Andrew Carbonetto <[email protected]> * SPOTLESS Signed-off-by: Andrew Carbonetto <[email protected]> * Add Map(none, none) test Signed-off-by: Andrew Carbonetto <[email protected]> * Update CHANGELOG Signed-off-by: Andrew Carbonetto <[email protected]> --------- Signed-off-by: Andrew Carbonetto <[email protected]>
Issue #, if available:
Description of changes:
Update XREAD value_conversion to return a Map<Map<String[]>> instead of a Map<String[String[]]>.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.