Skip to content

DATAREDIS-1161 - Avoid returning null in ReactiveHashCommands.hGet(…) #538

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

Closed
wants to merge 2 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Jun 8, 2020

We now use flatMapIterable(…).next() to return the first value from the hash. Previously, if the returned list was empty, we could return a null value in the mapping function which might have caused an exception.


Related ticket: DATAREDIS-1161.

mp911de added 2 commits June 8, 2020 16:00
We now use flatMapIterable(…).next() to return the first value from the hash. Previously, if the returned list was empty, we could return a null value in the mapping function which might have caused a exception.
christophstrobl pushed a commit that referenced this pull request Jun 10, 2020
We now use flatMapIterable(…).next() to return the first value from the hash. Previously, if the returned list was empty, we could return a null value in the mapping function which might have caused an exception.

Original Pull Request: #538
christophstrobl pushed a commit that referenced this pull request Jun 10, 2020
We now use flatMapIterable(…).next() to return the first value from the hash. Previously, if the returned list was empty, we could return a null value in the mapping function which might have caused an exception.

Original Pull Request: #538
christophstrobl pushed a commit that referenced this pull request Jun 10, 2020
We now use flatMapIterable(…).next() to return the first value from the hash. Previously, if the returned list was empty, we could return a null value in the mapping function which might have caused an exception.

Original Pull Request: #538
@christophstrobl christophstrobl deleted the issue/DATAREDIS-1161 branch June 10, 2020 06:39
christophstrobl pushed a commit that referenced this pull request Jun 10, 2020
We now use flatMapIterable(…).next() to return the first value from the hash. Previously, if the returned list was empty, we could return a null value in the mapping function which might have caused an exception.

Original Pull Request: #538
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants