Skip to content

[FEATURE] Make main package Validly transitively reference other package #17

@NotAsea

Description

@NotAsea

Is your feature request related to a problem? Please describe.

Currently when install this package the source generator and validator need to install seperately. Since we always need these three packages, i propose you add sourcegen and validator package to main Validly package reference so when user install they just need to install Validly and all common Validator and source generator available for them.

Describe the solution you'd like
Make current Validly package to Validly.Core then add a meta packge Validly with only csproj file that reference all core, source gen and extension.

Also you can simplify the Validator package a little bit so when using validator instead of verbose using Validly.Extension.Validators.Common, we only need using Validly.Common.

The AspnetCore Extension can be leave as is.

Describe alternatives you've considered
None

Additional context
EasyValidate, Mapperly and Dunet also do it, so i thinks why not.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions