Skip to content

Conversation

@dennisdoomen
Copy link
Member

In #925, some of the methods of AssertionScope were changed to return an IAssertionScope instead of the full class. However, this causes binary compatibility issues for libraries extending FluentAssertions. If such a library depended on a version between 5.0 and 5.5, upgrading to 5.5 would cause missing method exception. I've reverted those changes by exposing the IAssertionScope interface as explicit interface implementations.

This should fix fluentassertions/fluentassertions.json#27

@dennisdoomen dennisdoomen requested a review from jnyrup November 20, 2018 10:16
@dennisdoomen dennisdoomen changed the title Reverted changes to AssertionScope to ensure binary compatibility Reverted changes to AssertionScope to maintain binary compatibility Nov 20, 2018
@dennisdoomen
Copy link
Member Author

dennisdoomen commented Nov 20, 2018

Note: I decided not to change Continuation.Then since it would not be possible and it is very unlikely that a lot of people are using that one.

Copy link
Member

@jnyrup jnyrup left a comment

Choose a reason for hiding this comment

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

I tried yesterday to find projects on that depend on FA and looking at ~20-30 projects that looked like they could be extension libraries, none of them used Then.

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.

Upgrade to FluentAssertions 5.5.0 yields: System.MissingMethodException

2 participants