Sets the defaultSchemas keys in the SchemaCollection (#1421)

* Sets the defaultSchemas keys in the SchemaCollection

* Moves defaultSchema injection logic to router

* maps outside the function

* fixes test

* conciseness
This commit is contained in:
Florent Vilmart
2016-04-07 22:13:07 -04:00
parent bc96f0beb1
commit c22bafb951
3 changed files with 42 additions and 0 deletions

View File

@@ -848,4 +848,5 @@ export {
schemaAPITypeToMongoFieldType,
buildMergedSchemaObject,
systemClasses,
defaultColumns,
};