The Oneiro project is a collection of libraries designed to provide strongly-typed wrappers around primitive types, adding type safety and domain-specific logic to your code. The project is divided into three main components:
- NewType Core
- NewType Json
- NewType Newtonsoft
- Newtonsoft FluentValidation
Oneiro.NewType.Core is the foundational library that provides the core functionality for creating and using new types.
It includes features such as custom validation rules, type conversion support, and integration with ASP.NET Core query parameters.
For detailed information on how to use Oneiro.NewType.Core, please refer to the NewType Core README.
Oneiro.NewType.Json extends the core functionality by providing support for JSON serialization and deserialization
using the System.Text.Json library. This allows you to easily convert your new types to and from JSON.
For detailed information on how to use Oneiro.NewType.Json, please refer to the NewType Json README.
Oneiro.NewType.Newtonsoft provides similar JSON serialization and deserialization support as Oneiro.NewType.Json,
but using the popular Newtonsoft.Json library. This is useful if your project relies on Newtonsoft.Json for JSON handling.
For detailed information on how to use Oneiro.NewType.Newtonsoft, please refer to the NewType Newtonsoft README.
Oneiro.NewType.FluentValidation provides a way to integrate FluentValidation with NewType and ValidatedNewType
For detailed information on how to use Oneiro.NewType.FluentValidation, please refer to the NewType FluentValidation README.
This project is licensed under the MIT License. See the LICENSE file for more details.