Skip to content

Conversation

@drew-gross
Copy link
Contributor

Move mongo specific object deletion logic into mongo adapter.

@codecov-io
Copy link

Current coverage is 92.80%

Merging #1590 into master will increase coverage by +0.01% as of dce59a7

@@            master   #1590   diff @@
======================================
  Files           87      87       
  Stmts         5521    5534    +13
  Branches      1052    1053     +1
  Methods          0       0       
======================================
+ Hit           5123    5136    +13
  Partial         14      14       
  Missed         384     384       

Review entire Coverage Diff as of dce59a7

Powered by Codecov. Updated on successful CI builds.

DatabaseController.prototype.destroy = function(className, query, options = {}) {
var isMaster = !('acl' in options);
var aclGroup = options.acl || [];
const isMaster = !('acl' in options);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could do the same rework with replacing options by { acl } = {} 

@facebook-github-bot
Copy link

@drew-gross updated the pull request.

@facebook-github-bot
Copy link

@drew-gross updated the pull request.

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