Skip to content

Conversation

@flovilmart
Copy link
Contributor

Fixes #2189

@flovilmart flovilmart added this to the 2.2.19 milestone Sep 6, 2016
@codecov-io
Copy link

codecov-io commented Sep 6, 2016

Current coverage is 92.13% (diff: 83.33%)

Merging #2657 into master will increase coverage by 0.03%

@@             master      #2657   diff @@
==========================================
  Files           100        100          
  Lines         12282      12282          
  Methods        1522       1522          
  Messages          0          0          
  Branches       2020       2020          
==========================================
+ Hits          11312      11316     +4   
+ Misses          970        966     -4   
  Partials          0          0          

Powered by Codecov. Last update 33e3993...e769e2b

if (object instanceof Array) {
return object.map((obj) => replacePointers(obj, path, replace))
.filter((obj) => obj != null && obj != undefined);
.filter((obj) => typeof obj !== 'undefined');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strip out undefined, and keep the nulls to match parse.com behaviour

@ghost
Copy link

ghost commented Sep 6, 2016

@flovilmart updated the pull request - view changes

@doender
Copy link

doender commented Sep 6, 2016

👍 !

@flovilmart flovilmart merged commit e8aa1ad into master Sep 9, 2016
@flovilmart flovilmart deleted the fix-null-pointer-includes branch September 9, 2016 18:41
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.

5 participants