percolator
percolator copied to clipboard
Documentation misprints (probably out of date)
The docs are incorrect in a few spots:
- Occasional references to exporting a CRUDCollection 'member' property (should be 'wildcard').
- CRUDCollection 'update' docs describe the 'obj' callback parameter as the object returned from fetch, when it's actually the request payload (same as in 'create'). The object returned from fetch is available at req.fetched instead.
There are other instances I've come across and since forgotten about as well - I'll keep a running tally here as I find things that need updating and will hopefully submit a PR with fixes at some point. Until then, at least they'll be documented somewhere.