typicode / json-server

Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Other
72.44k stars 6.98k forks source link

Add support for JSON Patch #215

Open rsternagel opened 8 years ago

rsternagel commented 8 years ago

After a quick glance at your code it seems to me that you implemented PATCH the same way like PUT. Would be cool if you would consider implementing JSON Patch in order to allow (better) partial updates.

See:

excenter commented 8 years ago

I'd love to be able to use the same function to talk to json-server which we use for staging as we use for full postgress

jackwilsdon commented 4 years ago

It'd be sweet if RFC 7386 was supported too - it's a simpler variant of JSON Patch (RFC 6902).