@typegoose/typegoose
Advanced tools
Changelog
6.0.3
@plugin
, options are now checked if they are an object, when not: make them an object_buildSchema
autopopulate
, only has an effect if mongoose-autopopulate
is usedFindOrCreate
which has the types for mongoose-findorcreate
Changelog
6.0.1
refType
on PropOptionsrefPath
now uses the right type (new uses refType
instead of itemsType
)next
is now not marked as "optional" anymore, which caused next()
to be EmptyVoidFn | undefined
Changelog
6.0.0
To Migrate, please look at the migration guide
@typegoose/typegoose
InstanceType<T>
to DocumentType<T>
[szokodiakos#366]@modelOptions
and getModelForClass
and setModelForClass
will now override itsetModelForClass
is now deprecated [typegoose#6, szokodiakos#186]schema.loadClass
is now used instead of @instanceMethod
and @staticMethod
[szokodiakos#48, szokodiakos#346, szokodiakos#182]count
to VirtualOptionsautomaticName
, customName
, collection
)Changelog
5.9.2
Change README examples & badges to the new repo
use new travis.yml (from version 6.0.0)
use new style of package.json (from version 6.0.0)
Tags got deleted and added, please remove all local tags and re-download them
This Release did not change anything in the code, it is just there to update the NPM front