Domn Werner
Domn Werner
Some prototypes here: https://github.com/domn1995/dunet/tree/struct-union-prototype-2/samples/StructPrototype
Can we make the record struct `readonly`?
@NotAsea 100% agree. I have a [prototype](https://github.com/domn1995/dunet/blob/struct-union-prototype/samples/StructPrototype/Result.cs) with almost that exact implementation. The only issue I'm trying to solve is preserving the current method of instantiating a union variant with...
The problem I was running into is that the static method collides with the variant type, since, at least with the current implementation, the type is declared within the union...
+1 for following the rectangle rule unless we have a very, very good reason to stray from it. Finding more unrelated tokens on the same line "nicer to read" is...
Running into this issue as well. Would love to know if anyone has a workaround or if we have a suggested fix.
@corentinaltepe After deep diving the code I agree with you. @odinserj I would be happy to contribute a PR improving this design, because our code using hangfire is essentially untestable...
Should the interface be this instead? Feels wrong to force it to be nullable as in the OP. ```cs public interface ITenantInfo { TId Id { get; set; } }...
I have a similar use-case, but my ideal solution would be to expose a history of all matched requests rather than just the last one.