Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for conditional configured non-enumerable to enumerable mapping #193

Merged
merged 2 commits into from
Apr 13, 2020

Conversation

SteveWilkes
Copy link
Member

No description provided.

@SteveWilkes SteveWilkes merged commit edb509f into releases/1.7 Apr 13, 2020
@SteveWilkes SteveWilkes deleted the features/MapInstancesEdgeCases branch April 13, 2020 16:35
SteveWilkes added a commit that referenced this pull request Jun 14, 2020
* Optimising for loops!

* Tidying

* Organising enumerable mapping classes

* Tidying enumerable mapping code

* Fixing struct method creation factory caching

* Updating projects to .NET Core project format / Tidying

* Converting remaining projects to .NET Core project format, removing common AssemblyInfo files

* Adding more-efficient FilterToArray method

* Organising classes

* Adding .NET 3.5 'hint path'

* Using Environment.NewLine in test

* Updating NUnit version

* Organising configuration classes

* Updating .Net35 test project

* Trying NUnit test discovery fix

* Removing

* Removing unused code

* Updating to v1.7

* Features/map instances using (#192)

* Initial test + implementation

* Resetting implementation

* Adding mapping factories

* Continued

* Support for custom, unconditional root mapping factories

* Continued

* Removing target null checking from nested access checks

* Integrating configured mapping factories as part of alternate mappings in ComplexTypeMappingExpressionFactory

* Support for custom mapping factories in derived collection elements / Erroring if custom factories have invalid return types

* Extending test coverage

* Test coverage for configured root element mapping factory

* Support for unconditional configured enumerable mapping factories

* Support for conditional configured root enumerable mapping

* Extending test coverage

* Incorrect mapping factory configuration test coverge / Updating documentation

* Tidying

* Support for configuring non-enumerable to enumerable mapping using MapInstancesUsing

* Refactoring

* Support for root configured non-enumerable to enumerable mapping

* Extending test coverage

* Updating documentation / Adding inline mapping factory tests

* Support for configured non-enumerable to enumerable element mapping

* Fixing Net35 build

* Support for conditional configured non-enumerable to enumerable mapping (#193)

* Support for conditional configured non-enumerable to enumerable mapping

* Fixing tests

* Tidying

* Removing duplicate short-circuit returns

* Extending test coverage

* Bugs/173 dictionary values to target (#194), re: issue #173

* Splitting ToTarget DataSource tests into dedicated test class / Adding failing test to prove bug

* Fixing Dictionary.Values to List ToTarget data source mapping

* Adding .NET Core 3.1 test project + updating packages and framework runtimes

* Fix for configured simple-to-complex array data sources

* Simplifying 'invocation position' code

* Setting ConfiguredLambdaInfo target value factory in ctor

* Features/value injection (#195)

* All tests passing using ValueInjectors!

* Removing ParametersSwapper + tidying

* Deferring creation of Create mapping data calls

* Support for same-type enumerable-to-enumerable to-target data sources

* Including configured ToTarget data sources in mapping plan validation, re: #184

* Tidying

* Updating readme

* Features/sequential data sources (#196)

* Basic sequential data source support, re: issue #184

* Erroring if duplicate sequential data sources are configured

* Extra test coverage

* Erroring if sequential data source configured for simple type members

* Extra test coverage

* Erroring if configured data sources conflict with ignored source members

* Start of API update

* Updating sequential data source API

* Support for conditional sequential data sources

* Extra test coverage

* Extending test coverage

* Adding documentation

* Extra test coverage

* Start of sequential data sources for ctor parameters / Properly using fallback values in more places / Fixing tests

* Moving map methods back into interface to fix test overload resolution?!

* Fixing data source conflict tests

* Removing sequential ctor data source test

* Updating to v1.7-preview1

* Updating release notes, adding v1.7-preview1 NuGet package

* Surfacing mapping plan Expressions / Updating to ReadableExpressions v2.4

* Adding icon files

* Updating packages

* Features/to target instead (#198)

* Start of ToTargetInstead logic

* Refactoring

* Moar

* Ensuring configured mappings include callbacks and exception handling

* Extending ToTargetInstead test coverage / ToTargetInstead support with simple type members

* ToTargetInstead support for factory Funcs

* Extending test coverage

* Extending test coverage

* Erroring if simple ToTarget source configured for complex target

* Conditional ToTargetInstead support for complex type enumerable elements

* Tidying

* Tidying

* Extra test coverage

* Updating documentation

* Erroring with redundant ToTarget configurations

* Updating .NET Core framework versions for AppVeyor

* Adding Test framework reference for AppVeyor

* Updating framework version for AppVeyor

* Adding NuGet package v1.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant