marmelab / FakeRest

Patch fetch/XMLHttpRequest to fake a REST API server in the browser, based on JSON data.
MIT License
439 stars 48 forks source link

Serve single objects as well as collections. #19

Closed btyoung closed 8 years ago

btyoung commented 8 years ago

Implemented by the addition of a Single class to complement the Collection class.

This is necessary to implement tests for proposed updates to ng-admin

fzaninotto commented 8 years ago

Could you also add documentation for the new feature in the README?

btyoung commented 8 years ago

No problem, I've removed the log call and added documentation.

fzaninotto commented 8 years ago

Thanks!