Really convenient library, thanks for creating it.
I'm wondering if it'd be possible to use an optional wrapper type other than the one provided by the library. I'm using Facet and its GenerateDtos functionality for source generating CRUD DTOs. The patch DTO it generates is suitable for an optional patch style operation:
public record PersonPatch
{
public global::Facet.Optional<string> Name { get; set; }
public global::Facet.Optional<string?> Nickname { get; set; }
}
But the issue is that it uses its own Optional wrapper, so as is I don't think it's possible to make it work with OptionalValues.
Really convenient library, thanks for creating it.
I'm wondering if it'd be possible to use an optional wrapper type other than the one provided by the library. I'm using Facet and its GenerateDtos functionality for source generating CRUD DTOs. The patch DTO it generates is suitable for an optional patch style operation:
But the issue is that it uses its own Optional wrapper, so as is I don't think it's possible to make it work with OptionalValues.