Everything is now migrated to Typescript.
Breaking changes:
- workers now use delays instead of timeouts
User service now requires api key in .env
User service now requires app sections to be defined in .env. It takes a comma delimited string - USER_SECTIONS=all,quotes
- Replace in all joi schemas
.allow([val1,val2])
by.valid(val1,val2)
- Validate schemas directly, without joi - replace
joi.validate(data,schema)
toschema.validate(data)
- Any custom errors needs to be defined as messages, not language - e.g.
.messages({'any.required': 'This is required'}),
. Find out more about all the types here: https://github.com/sideway/joi/blob/master/API.md#types