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

BitSet codec #2233

Merged
merged 6 commits into from
Jan 25, 2023
Merged

BitSet codec #2233

merged 6 commits into from
Jan 25, 2023

Conversation

eheimburg
Copy link
Contributor

Adds a codec for java.util.BitSet as an array of longs. I've also added support for the legacy driver's save format, as that was very helpful to me when upgrading from Morphia 1.X. This gives users an automatic conversion path if they're still on 1.6 or earlier.

@evanchooly
Copy link
Member

mvn test -Dtest=BitSetCodecTest # -Dmongodb=<some version>

if you don't have a mongodb running, you can pass that -D property to automatically start one.

@eheimburg
Copy link
Contributor Author

eheimburg commented Jan 24, 2023

For whatever reason, I can't get the mvn test syntax to work for single tests, but I got all the tests working here, so it's ready for review!

@evanchooly evanchooly added this to the 2.4.0 milestone Jan 25, 2023
@evanchooly evanchooly merged commit 267c416 into MorphiaOrg:master Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants