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

Fixes NPEs when route returns a path with a value of null #122

Merged
merged 1 commit into from
Aug 21, 2015

Conversation

sdesai
Copy link
Contributor

@sdesai sdesai commented Aug 21, 2015

Couple of areas it was hitting NPEs:

  • In pathValueMerge when trying to identify references.
  • In the generic support/clone method, which wasn't accounting for null (good argument to use a lodash'esque library for this).

Un-X'ed the unit test which was added for this use case, which now passes.

Fixes #120

Couple of areas:
* In pathValueMerge when trying to identify references.
* In the generic support/clone method, which wasn't accounting for null.

Un-X'ed the unit test which was added for this use case, which now
passes.
ThePrimeagen added a commit that referenced this pull request Aug 21, 2015
Fixes NPEs when route returns a path with a value of null
@ThePrimeagen ThePrimeagen merged commit 0bd2c7a into Netflix:master Aug 21, 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.

2 participants