dunet icon indicating copy to clipboard operation
dunet copied to clipboard

C# discriminated union source generator

Results 7 dunet issues
Sort by recently updated
recently updated
newest added

As a dunet user, when using switch expression with dunet-generated unions, I don't want to be warned about the switch expression not being exhaustive when it is provably so. For...

enhancement
help wanted

As a developer who is considering using Dunet, I want a collection of different real-world samples to help me determine if the library makes sense for my use case. As...

documentation

I've been using the library in production code for a while now, and I think there's some additional improvements we can make to the match functionality: ## Async Match Parameters...

enhancement
good first issue

Some times we want to make a very basic union without naming its variants. We should be able to do something like: ```cs public partial record struct Number : Union;...

enhancement

We should support declaring unions as `record structs` for consumers that want value semantics and reduced memory allocations. For example: ```cs using Dunet; [Union] partial record struct Option { partial...

enhancement

Consider the following union: ```cs [Union] public partial record Option { public partial record Some(T Value); public partial record None; } ``` Currently, to instantiate the `Some` variant, we must...

enhancement
good first issue

Hello, This does not work: ```csharp [Union] public partial record Response { public partial record Ok; public partial record Ok; } ``` It complains that the abstract members are not...