Skip to content

v4.5.0

Choose a tag to compare

@nodkz nodkz released this 09 Aug 19:02
· 264 commits to master since this release

4.5.0 (2018-08-09)

Features

  • TypeScript: added definition files (thanks @toverux) (723ae7c)
  • FieldConverter: now support deeply nested arrays (504aec0)

For field someDeepField will be returned type [SomeDeepFieldPeriods] instead of JSON:

const UserSchema = new Schema({
  someDeepField: {
    periods: [{ from: Number, to: Number }],
  },
});