Skip to content

Oneiro.NewType.Core is a library that provides a way to create strongly-typed wrappers around primitive types. This can be useful for adding type safety and domain-specific logic to your code.

License

Notifications You must be signed in to change notification settings

oneirosoft/new-type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New Types

NewType CI NuGet Version - Oneiro.NewType.Core NuGet Version - Oneiro.NewType.Json NuGet Version - Oneiro.NewType.Newtonsoft NuGet Version - Oneiro.NewType.FluentValidation

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:

  1. NewType Core
  2. NewType Json
  3. NewType Newtonsoft
  4. Newtonsoft FluentValidation

NewType Core

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.

NewType Json

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.

NewType Newtonsoft

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.

NewType FluentValidation

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.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Oneiro.NewType.Core is a library that provides a way to create strongly-typed wrappers around primitive types. This can be useful for adding type safety and domain-specific logic to your code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages