JKHeadley / JKHeadley/rest-hapi
Add option to disable call to .lean() in handlers
Open
enhancement
good first issue
help wanted
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 155
- PR merge metrics
- No merged PRs in 30d
Description
See [this comment](https://github.com/JKHeadley/rest-hapi/issues/102#issuecomment-382386363)
Possibly through a `{ $lean: false }` parameter.
Contributor guide
Research direction
Read the linked comment in issue #102 first, then locate the handler code that calls .lean() and trace how handler parameters are passed. Define the option's scope and verify that setting it to false prevents the .lean() call while existing handlers retain their current behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100