Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "functional-models",
"version": "3.0.3",
"version": "3.0.4",
"description": "Functional models is ooey gooey framework for building and using awesome models EVERYWHERE.",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "mocha -r tsx --extensions ts,tsx 'test/**/*.{ts,tsx}'",
"mocha": "mocha -r tsx",
"test": "mocha -r tsx --extensions ts,tsx 'test/**/*.{ts,tsx}'",
"test:coverage": "TS_NODE_PROJECT=tsconfig.test.json nyc npm run test",
"test:watch": "nodemon -e '*' --watch test --watch src --exec npm run test:coverage",
"commit": "cz",
Expand Down
2 changes: 1 addition & 1 deletion src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const _validateModelDefinition = <T extends DataDescription>(
modelDefinition.properties[modelDefinition.primaryKeyName || 'id']
if (!primaryKeyProperty) {
throw new Error(
`Property missing for primaryKey named ${modelDefinition.primaryKeyName}`
`Property missing for primaryKey named ${primaryKeyProperty}`
)
}
if (!modelDefinition.pluralName) {
Expand Down
Loading