Skip to content
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

Fixed deref completing, without onNext'ing a bound model, if the preload paths fail #667

Merged
merged 2 commits into from
Dec 15, 2015

Conversation

sdesai
Copy link
Contributor

@sdesai sdesai commented Dec 14, 2015

We were swallowing errors on preload paths, and not onNexting a successfully bound model as a result.

This PR aims to fix that (For the current 0.x deref. It's N/A for the new 1.x/master deref).

@michaelbpaulson - Could you take a quick look at this, including the unit tests (to make sure I'm testing the correct 'as designed' expectation).

This is for the case where we have successfully deref'd, but all
or some of the preload paths fail. We could still return a bound
model, and then let any follow up requests for data take their
proper onNext/onError path.
@ThePrimeagen
Copy link
Contributor

boom. Take that 1.

sdesai added a commit that referenced this pull request Dec 15, 2015
Fixed deref completing, without onNext'ing a bound model, if the preload paths fail
@sdesai sdesai merged commit a18e21c into Netflix:0.x Dec 15, 2015
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.

None yet

2 participants