Skip to content

Fix implicit resolution conflict when MongoPolyDataCompanion is used with custom implicits #429

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

Merged
merged 5 commits into from
Feb 6, 2023

Conversation

ghik
Copy link
Contributor

@ghik ghik commented Jan 30, 2023

MongoPolyAdtInstances.codecFromFormat was a bit too broad and conflicted with implicits injected via MacroInstances.

This is a rather obscure scenario, please see the added test which shows the minimized problem.

@ghik ghik requested a review from ddworak January 30, 2023 17:51
@ghik
Copy link
Contributor Author

ghik commented Feb 3, 2023

Note: I decided to ignore binary compatibility as there is literally 0 chance this quite obscure feature is used in any library code.

Copy link

@mikegpl mikegpl left a comment

Choose a reason for hiding this comment

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

LGTM, could you take a look @ddworak? This blocks us from upgrading IAM to the latest version in CDM

Copy link
Member

@ddworak ddworak left a comment

Choose a reason for hiding this comment

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

LGTM. Sorry for taking so long, I must've missed the email.

@ghik ghik merged commit 7635485 into master Feb 6, 2023
@ghik ghik deleted the poly-mongo-implicit-conflict branch February 6, 2023 12:22
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.

3 participants