Mongo.Migration icon indicating copy to clipboard operation
Mongo.Migration copied to clipboard

Support Inheritance / Different document types in one collection

Open stephanprobst opened this issue 5 years ago • 1 comments

Hi!

I have a mongo collection with different types of documents. In C# it's a base class with deriving classes. When I apply start-up migration for the different sub classes they will applied for other document types in the same collection as well.

Do you have plans to support inheritance? The class name / document type is stored in _t

P.S.: awesome work :)

stephanprobst avatar Feb 28 '20 08:02 stephanprobst

Hey @stephanprobst,

I will have a look on that Idea and give you Feedback.

Thanks, mate! :)

Cheers, Sean

SRoddis avatar Feb 28 '20 11:02 SRoddis