Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Support for custom discriminator in EF Stores #105

Open
etiennecl opened this issue Jan 21, 2020 · 1 comment
Open

Support for custom discriminator in EF Stores #105

etiennecl opened this issue Jan 21, 2020 · 1 comment
Assignees

Comments

@etiennecl
Copy link

It would be very useful if the EF Store could use a custom discriminator for the Type column. The reason why is because right now it uses the assembly qualifier name although during the lifetime of a codebase it can happen that we reorganize the folder structure/namespace, therefore, the Factory will throw because it will not be able to create a new instance of an unknown type.

Something like JsonSubTypes could be very useful.

@lucabriguglia
Copy link
Owner

I agree with you, this is a feature that we should add.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants