Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

minimum reproduction of issue with typegoose nested discriminators

Notifications You must be signed in to change notification settings

gitschwifty/typegooseDiscriminatorRepro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typegooseDiscriminatorRepro

minimum reproduction of issue with typegoose nested discriminators
npm i to install deps

Issue solved: requires ES6 as tsconfig target, ES5 transpiles arrow function to regular function. npm run es5 to see error thrown, npm run es6 for no errors.

documentation for nested discriminators here
used the example for [Class] & the passing nestedDiscriminators tests with minute changes (brevity, ? & ! added to class members)

About

minimum reproduction of issue with typegoose nested discriminators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published