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

Support non-integer ids #28

Closed dprentis closed 4 months ago

dprentis commented 6 years ago

Would be great to support arbitrary string ids.

This simple fix seems to work, but let me know if anything else needs to be done to properly implement this.

dprentis commented 6 years ago

This doesn't solve generic id generation for new records - I should probably try adding support for a custom id generator.

fzaninotto commented 4 months ago

Superseded by #70