dunet
stronginject
dunet | stronginject | |
---|---|---|
3 | 7 | |
475 | 836 | |
- | - | |
8.5 | 0.0 | |
14 days ago | almost 2 years ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dunet
-
Rolled my own Result<T,E> type that seems to work better than others.
BUT It is possible to implement it in a pretty good way. The main issue with the majority of existing libraries is that they're not able to guarantee that Error variant matching is exhaustive. Thus I'd recommend the usage of code generators libraries (https://github.com/domn1995/dunet looks like a good choice to start with) to build Result and Error(s) unions in a proper way
-
How do you live without tagged union types?
Or use something like dunet https://github.com/domn1995/dunet
- Dunet: C# discriminated union source generator
stronginject
- Reflection -> Source Generated
- What is the most cursed data structure you can think of?
- Injectio - Source Generator for Dependency Injection
-
You probably don't need MediatR
I think StrongInject does exactly that. I have never used it yet though.
-
stronginject VS Pure.DI - a user suggested alternative
2 projects | 12 Oct 2021
-
Is the era of reflection-heavy C# libraries at an end?
Actually DI is perfectly possible without reflection, see https://github.com/YairHalberstadt/stronginject
What are some alternatives?
OneOf - Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching
jab - C# Source Generator based dependency injection container implementation.
csharp-combinators - Experiments to understand and find practical use cases for combinators.
Pure.DI - Pure DI for .NET without frameworks!
csharplang - The official repo for the design of the C# programming language
csharp-source-generators - A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
ZeroQL - C# GraphQL client with Linq-like syntax
Jot - Jot is a library for persisting and applying .NET application state.
plato - A simple and efficient cross-platform programming language.
ReactiveUI - An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms that is inspired by functional reactive programming. ReactiveUI allows you to abstract mutable state away from your user interfaces, express the idea around a feature in one readable place and improve the testability of your application.
mapperly - A .NET source generator for generating object mappings. No runtime reflection.
ArchiSteamFarm - C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.