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

Add MartenOps.StoreObjects #1171

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jay-zahiri
Copy link
Contributor

@jay-zahiri jay-zahiri commented Dec 17, 2024

Potentially breaking change
If a user is performing any tests on the actual list type, this PR might break it. In this PR StoreManyDocs and StoreObjects inherit the same base class, Documents – which holds the actual list of objects to be stored (IReadOnlyList<object> Documents). I chose this in order to have a single point of source. So StoreManyDocs no longer holds its own list of objects (readonly T[] _documents). Hope I made sense xD

@jay-zahiri jay-zahiri changed the title Add IMartenOp.StoreObject Add MartenOp.StoreObject Dec 17, 2024
@jay-zahiri jay-zahiri changed the title Add MartenOp.StoreObject Add MartenOp.StoreObjects Dec 17, 2024
@jeremydmiller
Copy link
Member

@jay-zahiri Can you add a test for this, and I'll pick this up on 3.6? 3.5 today, but 3.6 by the end of this week

@jay-zahiri
Copy link
Contributor Author

Will do! I'll probably add them Thursday, swamped til then

@jay-zahiri jay-zahiri changed the title Add MartenOp.StoreObjects Add MartenOps.StoreObjects Dec 19, 2024
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

Successfully merging this pull request may close these issues.

2 participants