Skip to content

Commit 1c8fe7b

Browse files
committed
Fixing incorrect breaking change documentation
1 parent 8718823 commit 1c8fe7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

BREAKING_CHANGES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ public interface IAnonymousValueSupplier
2424
}
2525
```
2626

27-
Note: the `GenerateAnonymousValue` method is no longer generic.
27+
Note: the `CanSupplyValue` method and the `GenerateAnonymousValue` method are no longer generic.
2828

2929
### Reason
3030

31-
In order to implement the `BuildUsing` method that allows you to build an object by convention in one line rather than having to call the constructor yourself we needed to have a non-generic version of the method. This change actually ended up making the anonymous value suppliers slightly easier to implement (no longer any need for type casting).
31+
In order to implement the `BuildUsing` method that allows you to build an object by convention in one line rather than having to call the constructor yourself we needed to have a non-generic version of the methods. This change actually ended up making the anonymous value suppliers slightly easier to implement (no longer any need for type casting).
3232

3333
### Fix
3434

35-
If you have any custom anonymous value suppliers change the signature of your `GenerateAnonymousValue` method so it's no logner generic.
35+
If you have any custom anonymous value suppliers change the signature of your `CanSupplyValue` and `GenerateAnonymousValue` methods so they are no longer generic.
3636

3737
Breaking change from NTestDataBuilder -> TestStack.Dossier 2.0
3838
--------------------------------------------------------------

0 commit comments

Comments
 (0)