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
Just downloaded your library in hopes that it would improve my unit tests without having to create custom FluentAssertions validators for my response objects.
However, I'm relying on custom responses like this:
As you can probably tell, the extensions in this library do not trigger for my type, because I'm not using the OneOf<T> type, but its base OneOfBase<T>.
Could you please change the validation extensions to consider the base type instead, so that both raw OneOf as well as discriminated union custom classes can be used?
The text was updated successfully, but these errors were encountered:
Just downloaded your library in hopes that it would improve my unit tests without having to create custom FluentAssertions validators for my response objects.
However, I'm relying on custom responses like this:
As you can probably tell, the extensions in this library do not trigger for my type, because I'm not using the
OneOf<T>
type, but its baseOneOfBase<T>
.Could you please change the validation extensions to consider the base type instead, so that both raw
OneOf
as well as discriminated union custom classes can be used?The text was updated successfully, but these errors were encountered: