Skip to content

obiwanjacobi/Jacobi.ValueObject

Repository files navigation

Value Object Source Generator

This package contains a Roslyn Source Generator that creates Value Object implementations from partial struct or partial record struct declarations.

The goal of this project is to provide a library that is simple to use and good (enough) for most cases.

Value Object

Add the Jacobi.ValueObject (NuGet) package to your project to get started.

Read more on how to use the Value Object generator in this readme.

Solution

  • Jacobi.ValueObject contains the ValueObject code attribute and related types.
  • Jacobi.ValueObject.Generator contains the Roslyn Source Code Generator that creates the Value Object implementation.
  • Jacobi.ValueObject.Tests contains test code to excercise the various states and conditions for the Value Object implementation.

About

Source generator for dotnet value objects based on record structs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages