Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema Change Support #382

Open
phtech-andyherrmann opened this issue Jun 3, 2024 · 0 comments
Open

Schema Change Support #382

phtech-andyherrmann opened this issue Jun 3, 2024 · 0 comments

Comments

@phtech-andyherrmann
Copy link

Thanks for this package. We are enjoying using it. One issue we've run up against is Document Versioning. Say, for example we want to update a property on our document from:

public string Selection { get; set; }

to

public List<string> Selection { get; set; }

and we want to update the entities on the fly as we query them from mongodb. Deserializing them into the updated model will cause an error without some way to update the document to the newest version. Do you have a simple way to accomplish this with MongoFramework?

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

No branches or pull requests

1 participant