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

Update lift-mongodb and lift-mongodb-record for deprecations in the m… #1984

Merged
merged 2 commits into from
Jul 20, 2020

Conversation

eltimn
Copy link
Member

@eltimn eltimn commented Jul 2, 2020

…ongo-java-driver. Enable Scala 2.13 for lift-mongodb and lift-mongodb-record.

Fixes #1830
Supercedes #1977

Since there haven't been any replies to my ml thread about the async parts I've chosen to deprecate them. If someone comes along later and wants to use them we can update them at that point.

I'm running this locally with my app (rotozen.com) and all is working ok. I'll be testing it for a few more days since the app does different things depending on the day of the week.

…ongo-java-driver. Enable Scala 2.13 for lift-mongodb and lift-mongodb-record.
Copy link
Member

@farmdawgnation farmdawgnation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a lot of code for one PR but I trust you. 😅

import org.bson.codecs.BsonTypeClassMap
import org.bson.codecs.configuration.CodecRegistry

object MongoRecordRules extends SimpleInjector {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some Scaladoc here would be helpful for folks just trying to figure out what this is at the class level.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I added a short description.

@eltimn
Copy link
Member Author

eltimn commented Jul 20, 2020

I'm going to close and re-open this to trigger a travis build.

@eltimn eltimn closed this Jul 20, 2020
@eltimn eltimn reopened this Jul 20, 2020
@eltimn
Copy link
Member Author

eltimn commented Jul 20, 2020

Ok, I think we're good.

@eltimn eltimn merged commit e145561 into master Jul 20, 2020
@eltimn eltimn deleted the tcn_issue_1830b branch July 20, 2020 17:12
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.

Deprecate use of com.mongodb.DBObject
3 participants