-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Schema.js cleanup #1540
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
Schema.js cleanup #1540
Conversation
Current coverage is
|
@drew-gross do you think it's time to move it to |
Yah I think once these changes are merged I will do that. |
@@ -78,7 +78,7 @@ DatabaseController.prototype.loadSchema = function(acceptor = () => true) { | |||
} | |||
this.schemaPromise = this.schemaCollection().then(collection => { | |||
delete this.schemaPromise; | |||
return Schema.load(collection); | |||
return Schema.load(collection, this.adapter); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should probably store a SchemaController on this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, definitely will do something like that in a later PR.
LGTM, besides the baby comment, for later |
A collection of semi-random changes that are progress towards database adapters.