Releases: WreckingBallStudioLabs/moleculer-schema-adapter
Releases · WreckingBallStudioLabs/moleculer-schema-adapter
Release list
General improvements
- Moved
errorsto their own place. - Improved
errorsoutput, for example for an invalid payload:
[
{
keyword: 'required',
dataPath: '',
schemaPath: '#/required',
params: { missingProperty: 'adapters' },
message: "should have required property 'adapters'"
}
]
- Moved
helpersto their own place. - Updated outdated documentation (JSDoc).
- Removed external dependency (
Redis). - Fixed bug that would halt application if
Rediswas not set. - Removed dependency on any ENV VAR (
SCHEMA_DIR). Now asettingis available, with default values. This also frees services that importmsafrom declaring any ENV VAR. - Removed any
asynchronous/promiseas it is no longer needed. - ESLinted (added
;), code has been formatted. - Fixed bug in
validateEventthat was calling a schema without previously checking if the schema was there. - Now using a
Mapto store schema information, better and cleaner.