You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We have a typed data structure with data models based on class inheritance.
To save/read data on cosmosdb we use Newtonsoft (de)serialization which normally works fine. Example of data model:
public class Pet
{
public string Name { get; set; }
}
public class Dog : Pet
{
public string OtherName { get; set }
}
This is a piece of saved document how it is persisted:
After running the migration tool, from cosmos-nosql source to json or other cosmos-nosql sink, the migrated data contains everything except the "$type" property:
Hi,
We have a typed data structure with data models based on class inheritance.
To save/read data on cosmosdb we use Newtonsoft (de)serialization which normally works fine. Example of data model:
This is a piece of saved document how it is persisted:
After running the migration tool, from cosmos-nosql source to json or other cosmos-nosql sink, the migrated data contains everything except the "$type" property:
Not sure if that is internal tool issue or rather the configuration. Here is the exemplary setting I use:
Thanks in advance!
The text was updated successfully, but these errors were encountered: