Skip to content

Cleanup update #1590

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 6 commits into from
Apr 22, 2016
Merged

Cleanup update #1590

merged 6 commits into from
Apr 22, 2016

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.

@@ -283,50 +285,42 @@ DatabaseController.prototype.removeRelation = function(key, fromClassName, fromI
// one of the provided strings must provide the caller with
// write permissions.
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