Skip to content

Improve mapping and constructor handling - #8

Merged
manusoft merged 2 commits into
masterfrom
netstandard2.0/feature-update-patch
Nov 20, 2026
Merged

manusoft merged 2 commits into
masterfrom
netstandard2.0/feature-update-patch

Conversation

@manusoft

Copy link
Copy Markdown
Owner

Share reference tracking across collections, support unmatched constructor parameters, and refine conversions and configuration. Expand tests and update README documentation.

Update project targets (library -> netstandard2.0 + net10.0; tests -> net10.0 only) and add multiple compatibility/defensive changes: replace ArgumentNullException.ThrowIfNull / ArgumentException.ThrowIfNullOrWhiteSpace with explicit null/whitespace checks; add required using directives (System.Linq, System.Reflection, System.Collections, System.Runtime.CompilerServices); construct HashSet with StringComparer for parameter name sets; introduce ReferenceEqualityComparer (uses RuntimeHelpers.GetHashCode + ReferenceEquals) and register as a singleton; switch enum-from-string logic to Enum.Parse inside try/catch to avoid newer TryParse overloads; guard DateOnly/TimeOnly handling with NET6_0_OR_GREATER; use TryGetValue instead of GetValueOrDefault for mapping lookups; and add explicit null guards on public mapping entry points (Map, MapCollection, MapCollectionAsync, MapTo).
Share reference tracking across collections, support unmatched constructor parameters, and refine conversions and configuration. Expand tests and update README documentation.
@manusoft manusoft added this to the v4.1.0 milestone Nov 20, 2026
@manusoft manusoft self-assigned this Nov 20, 2026
@manusoft manusoft added the enhancement New feature or request label Nov 20, 2026
@manusoft
manusoft merged commit d1ae15a into master Nov 20, 2026
3 checks passed
@manusoft
manusoft deleted the netstandard2.0/feature-update-patch branch November 20, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant