Skip to content

Ensure beforeSave hook response is object before stripping #1969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2016

Conversation

TylerBrock
Copy link
Contributor

@TylerBrock TylerBrock commented Jun 1, 2016

Technically if someone returns true/false boolean primitives it'll behave just fine if you call delete on them as the primitive values get converted to objects by the interpreter but this is more explicit.

@codecov-io
Copy link

codecov-io commented Jun 1, 2016

Current coverage is 91.88%

Merging #1969 into master will increase coverage by <.01%

@@             master      #1969   diff @@
==========================================
  Files            91         91          
  Lines          6405       6406     +1   
  Methods        1094       1094          
  Messages          0          0          
  Branches       1344       1345     +1   
==========================================
+ Hits           5885       5886     +1   
  Misses          520        520          
  Partials          0          0          

Powered by Codecov. Last updated by 38f02af...b717eb2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants