Vogen
Vogen copied to clipboard
A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects
``` [ValueObject(typeof(int))] [System.ComponentModel.DataAnnotations.Range(2,100, Error = "Generate validator from this. Hm. Even compile time validator for well know annotations"] public partial struct CustomerId { } ```
``` [ValueObject(typeof(int), Default = bool)] ``` So allow default for whatever reason I want. In this case, Value should be public get/set. Or will not be able to set it....
Fixes #229
### Describe the feature Each generator creates a pipeline. Pipelines are run on every keypress. This can slow down performance of the host IDE (e.g. Visual Studio). Instead, use specific...
### Describe the feature Change the code to use .NET and support C# 11 in the generated output and input, e.g. `ValueObject`
### Describe the feature Including: * `IParseable` / `ISpanParseable` (for `TryParse` support added in #205 * Generic attributes * File-scoped classes
Bumps [SQLitePCLRaw.bundle_winsqlite3](https://github.com/ericsink/SQLitePCL.raw) from 2.1.0 to 2.1.2. Release notes Sourced from SQLitePCLRaw.bundle_winsqlite3's releases. v2.1.2 Include Wasm builds which are compatible with .NET 7 Fix problems with net6.0 targeting 32-bit Windows. The...
### Describe the feature Clone the operators on the underlying type. For instance: ``` csharp ValueObject[typeof(int)]` public partial struct Age { } Age a1 = Age.From(20); Age a2 = Age.From(30);...