❔ Generic entity type in EF Core
Heya everyone! 
What's the recommended way to work with entities that have a property with a generic type on them? e.g:
I'd like to serialize and deserialize the data as JSON with a config that looks something like this: (I don't need to query the JSON data in the db)
Sadly though, that doesn't seem to work as I get an error saying:
What's the preferred way to implement this?

What's the recommended way to work with entities that have a property with a generic type on them? e.g:
I'd like to serialize and deserialize the data as JSON with a config that looks something like this: (I don't need to query the JSON data in the db)
Sadly though, that doesn't seem to work as I get an error saying:
The entity type 'MetricsEntity<TestMetricData>' was not found. (I do have the model builder configured to use all type builders of the assembly)What's the preferred way to implement this?
- Do I dynamically add a type configuration for all constructed generic types using reflection?
- Do I change the property to be a string and serialize / deserialize it myself?
- Do I do something entirely different? :0