Commit 1056f58
authored
Releases/1.5 (#161)
* Bugs/unused constructor members (#140)
* Adding intermediate-step ConstructionInfos to determine constructability without always creating the construction Expression
* Checking object constructability using ConstructionInfos
* Tidying
* - Populating members with a matching constructor parameter that might not be used
- Respecting single-data-source population conditions for readonly member populations
* Fixing mapping validation detection of unconstructable members
* Updating version numbers
* Features/root enum pairing (#141)
* Support for root enum pairing
* Test coverage for nullable target enums and out-of-range source enum values
* Test coverage for root enum mapping
* Support for mapping callbacks around root enum mapping
* Support for mapping (not projecting) queryables (#142)
* v1.5 preview 1 release notes and NuGet package
* Features/entity key mapping refinements (#144)
* Always allowing entity key mapping in projections
* Allowing entity key mapping for view models and DTOs
* Handling null nested members in .ToTarget() data sources, fixes #145
* Bugs/issue146 (#146, #147)
* Taking a source interface's implemented interfaces into account when matching source members
* Test coverage for configured interface source member
* Mapping to target interface members' implemented interface members, re: #146
* Features/coverage optimisations (#148)
* Removing unused dictionary member population code and optimising
* QueryString class test coverage
* Optimising DictionaryTargetMember.TryGetMappingBody, IList.Append(IList) and MappingFactory.UseLocalValueVariable
* Tidying
* Removing unused code
* Test coverage for ExpressionInfoFinder index logic
* Extending array index data source code coverage
* Extending test coverage for index expression data sources
* Using instance mapper
* Updating to v2.3.1 of ReadableExpressions
Removing Index tests from .NET 3.5 tests
* Adding coverage TODOs
* Increasing data source reversal test coverage / Lazy-loading ExpressionInfoFinder collection members
* Fixing reverse data source test coverage
* Increasing code coverage / Removing unused or obselete code
* Updating to v1.5-preview2
* v1.5-preview 2 NuGet package
* Allowing configured condition type tests if mapping from an interface, re: #146
* Support for custom DateTime format strings with nullable DateTimes, re #149 (#150)
* Accounting for a conflicting member check being checked against QualifedMember.All - fixes #152
* Support for zero-configuration mapping of interfaces to strings, fixes #153
* Updating to preview3, updating release notes, adding NuGet package
* Bugs/simple to complex to target (#154)
* ToTarget changes
* Tidying
* Removing Newtonsoft dependency
* Optimising deep clone member-matching
* Support for simple type to enumerable ToTarget data sources
* Tidying
* Fixing tests
* Features/tidying (#156)
* Updating ReadableExpressions to v2.3.2
* Tidying
* Moving member population logic into MemberPopulator from DataSourceSet and MemberPopulationFactory
* Optimising Array Prepend + Append calls
* Organising fallback data sources
* Moving logic into EnumerableTypeHelper
* Avoiding yielding null expressions from population factory
* Tidying
* Tidying
* Features/data source improvements (#158)
* Renames
* Creating DataSourceSets to generate root mapping Expressions
* Removing unused MappingExpressionFactory code
* Removing ExpressionFactory singleton instances
* Switching DataSourceFactory to a delegate
* Adding ComplexTypeDataSource factory methods
* Start of generating derived type mappings via data sources
* Rearranging derived type mapping generation
* Adding condition-or-default helper method
* Handling unconditional derived type mappings
* Detecting derived new element mappings
* Fixing derived type mapping, all tests pass!
* Organising data source factory files
* Features/ignore data sources (#160)
* Support for ignoring a given source member
Tidying
* Reusing created variable value
* Switching single-method interfaces to delegates
* Features/member population context (#159)
* Reusing created variable value
* Switching single-method interfaces to delegates
* Adding MemberPopulationContext
* Avoiding capture creation in .Project()
* Avoiding capture creation in .Filter()
* Avoiding closure creation in .FirstOrDefault()
* Avoiding closure creation in .First()
* Reusing MemberPopulationContext and DataSourceFindContext throughout complex type member population creation
* Start of SourceMemberMatchContext
Tidying
* Adding reuseable SourceMemberMatchContext
* Tidying
* Support for conditional member ignores
* Erroring if redundant source ignore configured
* Support for all-target source member ignores / Test coverage for ignoring a write-only source member
* Invalid configuration test coverage
* Fixing configured source member ignore conflict detection
* Extra test coverage
* Extending test coverage
* Support for extending source ignores in inline configuration
* Test coverage for incorrect inline source ignore configuration
* Start of support for ignoring source members by filter
* Support for ignoring source members by filter
* Erroring if invalid source member filters are specified
* Extending test coverage for global source filters
* Support for maptime ignoring of source members by derived type
* Splitting source member ignore classes
* Splitting target member ignore classes
* Renaming ignore classes
* Moving shared member ignore logic into interface extension methods
* Optimising single-value DataSourceSets
Renames
* Basic source value filter support
* Support for global object-value filters
* Test coverage for multi-clause global typed source value filter
* Extending test coverage
* Renames
* Support for filtering simple type source enumerable element values
* Extending test coverage
* Test coverage for filtering a simple type configured data source
* Updating test
* Not falling back to a default data source if a configured data source has no default matching source member
* Optimising source value filter creation
* Tidying
* Support for maptime-checked derived source type filters
* Test coverage for source value filter-ignored runtime typed derived sources
* Extending test coverage
* Support for inline-configured source value filters and overlapping multiple source value filters
* Removing duplicate filter application / Start of handling null nested members in value filter expressions
* Support for nested access checking in source value filters
* Support for combining conditional data sources with inline source value filters
* Erroring if duplicate source value filters are defined
* Erroring if empty source filter configured
* Extra test coverage
* Support for conditional source value filters using the If() syntax
* Organising source value filter classes
* Adding / updating documentation
* Updating release notes
* Updating to v1.5
* Adding v1.5 NuGet package1 parent e4777d6 commit 1056f58
File tree
247 files changed
+9760
-3516
lines changed- AgileMapper.PerformanceTester.Net45
- AgileMapper.UnitTests.Common
- AgileMapper.UnitTests.Net35
- AgileMapper.UnitTests.NonParallel
- AgileMapper.UnitTests.Orms.EfCore2
- AgileMapper.UnitTests
- Configuration
- Inline
- Dictionaries/Configuration
- MapperCloning
- Members
- SimpleTypeConversion
- TestClasses
- AgileMapper
- Api
- Configuration
- Dictionaries
- Dynamics
- Configuration
- Dictionaries
- Inline
- MemberIgnores
- SourceValueFilters
- DataSources
- Factories
- MappingRoot
- Finders
- Extensions
- Internal
- Members
- Dictionaries
- Population
- ObjectPopulation
- ComplexTypes
- Enumerables
- Dictionaries
- MapperKeys
- RepeatedMappings
- Queryables
- Converters
- Recursion
- Settings
- TypeConversion
- Validation
- NuGet
- docs/src/configuration
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
247 files changed
+9760
-3516
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
405 | 407 | | |
406 | 408 | | |
407 | 409 | | |
408 | | - | |
| 410 | + | |
409 | 411 | | |
410 | | - | |
| 412 | + | |
411 | 413 | | |
412 | | - | |
413 | | - | |
414 | | - | |
| 414 | + | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
416 | 422 | | |
417 | 423 | | |
418 | 424 | | |
| |||
Lines changed: 595 additions & 4 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
52 | 71 | | |
53 | 72 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| |||
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
114 | 123 | | |
115 | 124 | | |
116 | 125 | | |
| |||
144 | 153 | | |
145 | 154 | | |
146 | 155 | | |
| 156 | + | |
147 | 157 | | |
148 | 158 | | |
149 | 159 | | |
| |||
219 | 229 | | |
220 | 230 | | |
221 | 231 | | |
| 232 | + | |
222 | 233 | | |
| 234 | + | |
223 | 235 | | |
224 | 236 | | |
225 | 237 | | |
| |||
301 | 313 | | |
302 | 314 | | |
303 | 315 | | |
| 316 | + | |
304 | 317 | | |
305 | 318 | | |
306 | 319 | | |
| |||
Lines changed: 190 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
317 | 319 | | |
318 | 320 | | |
319 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
320 | 510 | | |
321 | 511 | | |
322 | 512 | | |
| |||
0 commit comments