You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BREAKING_CHANGES.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,15 +24,15 @@ public interface IAnonymousValueSupplier
24
24
}
25
25
```
26
26
27
-
Note: the `GenerateAnonymousValue` method is no longer generic.
27
+
Note: the `CanSupplyValue` method and the `GenerateAnonymousValue` method are no longer generic.
28
28
29
29
### Reason
30
30
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).
32
32
33
33
### Fix
34
34
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.
36
36
37
37
Breaking change from NTestDataBuilder -> TestStack.Dossier 2.0
0 commit comments