src/create-model.js
Function createModel
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createModel (definition) {
// Copy object to be sure that nothing will reassign definition meanwhile
definition = Object.assign({}, definition)
// Memoize object keys for performance reasons