jsonapi-server
Advanced tools
Comparing version 2.2.1 to 2.3.0
@@ -0,1 +1,3 @@ | ||
- 2016-12-15 - v2.3.0 | ||
- 2016-12-15 - Validate resource schema before starting the server | ||
- 2016-12-08 - v2.2.1 | ||
@@ -2,0 +4,0 @@ - 2016-12-08 - Prefer client generated ID's for newly created resources |
@@ -19,2 +19,3 @@ 'use strict' | ||
const metrics = require('./metrics.js') | ||
const schemaValidator = require('./schemaValidator.js') | ||
@@ -115,2 +116,3 @@ jsonApi.Joi = ourJoi.Joi | ||
jsonApi.start = () => { | ||
schemaValidator.validate(jsonApi._resources) | ||
router.applyMiddleware() | ||
@@ -117,0 +119,0 @@ routes.register() |
{ | ||
"name": "jsonapi-server", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "A config driven NodeJS framework implementing json:api", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
281321
102
6672