These are chat archives for Automattic/mongoose

Jan 2019
Jan 11 16:12

hi all, i am working on implementing multi-level embedded discriminators in arrays and I am having issues. It seems like even though I am using a discriminator, when I save my top level object, the multi-level embedded object does not pick up the discriminated schema that is expected, based on the discriminator key. Has anyone worked on this that would give me some advice?