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
Upgrade to FluentAssertions 5.5.0 yields: System.MissingMethodException #27
Comments
any progress on this? I'm getting the same error after upgrading |
Sorry. Forgot about the other repo. Will take a look soon. |
Hmm, looks like I've introduced a breaking change in the main library without me realizing it. cc @jnyrup |
@dennisdoomen Probably due to fluentassertions/fluentassertions#925 |
Yep. Trying to figure out how we can fix this. |
Looks like the only way to fix this is to have FluentAssertions.Json take a direct dependency on FluentAssertions 5.5.0+. Technically, that's a breaking change.. |
I guess the breaking change also affects all other nuget packages depending on 5.0.0+? |
If they directly use the |
And you did mention the potential for breaking changes while you reviewed fluentassertions/fluentassertions#925 😢 |
We might be able to fix it by using explicit interface implementation of I tried it, and here are my results:
One exception is |
That was exactly what I was thinking as well. |
Should be fixed by https://github.com/fluentassertions/fluentassertions/releases/tag/5.5.3 |
After upgrading FluentAssertions from
5.4.2
to5.5.0
, the following code:produces the following error:
The text was updated successfully, but these errors were encountered: