mgonto / restangular

AngularJS service to handle Rest API Restful Resources properly and easily
MIT License
7.87k stars 840 forks source link

Fixes #1257 - Accept (number) 0 as response in get() #1445

Closed CMRHDL closed 7 years ago

CMRHDL commented 7 years ago

Per testcase Doing a post to a server that returns no element will return undefined '' shall not be accepted which makes sense, but 0 is a real use case, f.e. when receiving a count.