v3.0.0 - Major Refactoring Release
What's Changed
馃悰 Fixed
Critical: Package Installation Issue
- Removed
developmentDependency=truefrom.nuspecto prevent NuGet from addingPrivateAssets=allautomatically - Added MSBuild target that ensures ErrorOrX runtime flows to consuming projects
- Users no longer need to manually edit .csproj after installing ErrorOrX.Generators
馃敡 Refactoring
- Consolidated type unwrapping logic: Unified duplicate
UnwrapNullableTypeimplementations - Consolidated route parameter lookup: Merged
BuildMethodParamsByRouteNameandBuildRouteMethodParameterLookup - Decomposed EmitInvoker method: Split 95-line method into focused single-responsibility methods
- Removed Match API dependency: Generated code now uses minimal
ErrorOr<T>interface (IsError/Errors/Value)
馃Ч Maintenance
- Test analyzer cleanups: Sealed test helper records, added shared
Unreachablehelper - Fixed ModuleInitializer.cs: Added missing
using VerifyTests;directive - Removed unnecessary reflection: Simplified
EquatableArrayJsonConverter - Fixed README links: Documentation links now point to GitHub URLs
馃摝 Packages
Installation
dotnet add package ErrorOrX.Generators --version 3.0.0No manual .csproj editing required! The ErrorOrX runtime will now automatically flow to your project.
Full Changelog: v2.6.3...v3.0.0