Pull all db (mongo) functions into another file to enable easier replacement - #1333
Conversation
|
The only test failure was a flakey acceptance test. |
|
As to the abstraction, I think this may be a reasonable first step. Other options are
|
|
Seems reasonable to me. 👍 |
|
@dmitchell - what's the status of this PR? |
|
Ask Cale. He stated that he objects but no actionable reason
|
|
+1. Ultimately, I think this is the wrong level to be abstracting at, but
|
|
Rebased. I agree w/ @cpennington that the abstraction is not quite right. I intended this purely as a quick and dirty first step toward separation but the real abstraction would require trying to implement another db connector. |
Pull all db (mongo) functions into another file to enable easier replacement
…ogwood/fix-task-atomic" (openedx#1333) This reverts commit c0332b9, reversing changes made to 7db6319.
Builds on the other PR for using computed ObjectId
@cpennington @singingwolfboy please review or delegate
[looks like I need to rebase]