Skip to content

Documentation misprints (probably out of date) #86

@GordStephen

Description

@GordStephen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions