TypeError: app[route] is not a function
- Added handling of
itemMethods
in UI - Basic overview of schema and validations in UI
- HTTP methods are no longer only defined in the
resourceMethods
array. The values inresourceMethods
defines which methods are supported at the resource endpoint, supported values are GET and POST. TheitemMethods
array contains which methods are allowed at the item endpoint:/resource/id
which is the_id
of the document. SupporteditemMethods
values are:- GET
- PUT
- PATCH
- DELETE
- Added
itemMethods
- HTTP method GET is no longer added to
resourceMethods
oritemMethods
by default in order to enabled the creation of restricted endpoints
- Added
object
as valid type in schema
- Added
min
,max
,minLength
andmaxLength
as valid data validation keys
- Improved casting and validations
- Validating keys in schema
- Adding
default
as valid data validation key
- Handling objects inside an array in a schema
- Remove certain private class functions
- Fixed how assets are handled by express static
- Include files when publishing to npm
- Added files for documentation
- Fixed tests
- Export schema as JSON in preparation for documentation
- Custom routes
- Middleware in schema with the
preHandler
hook
- Added license
- New tests
- Added private class functions
- Promises to ensure initialization
- Started integration tests
- Chalk logging
- Dynamically created routes
- Dynamically created Mongoose Schemas
- Validations on initialization
- Handle GET, POST, PUT, PATCH & DELETE