Skip to content

Map read-only collections by default - #3368

Merged
jbogard merged 3 commits into
LuckyPennySoftware:masterfrom
lbargaoanu:existing_IEnumerable
Apr 29, 2020
Merged

Map read-only collections by default#3368
jbogard merged 3 commits into
LuckyPennySoftware:masterfrom
lbargaoanu:existing_IEnumerable

Conversation

@lbargaoanu

@lbargaoanulbargaoanu commented Apr 1, 2020

Copy link
Copy Markdown
Contributor

No description provided.

Comment threadsrc/AutoMapper/TypeDetails.cs
@lbargaoanulbargaoanu changed the title When mapping to an existing collection, we need ICollection, not IListMapping to an existing collectionApr 7, 2020
@lbargaoanulbargaoanu changed the title Mapping to an existing collectionMap read-only collections by defaultApr 9, 2020
@lbargaoanu
lbargaoanu requested a review from jbogardApril 14, 2020 05:05
@jbogard

Copy link
Copy Markdown
Contributor

Merge conflict on the api compat file

@lbargaoanu

Copy link
Copy Markdown
ContributorAuthor

@jbogard Ping :)

not needed anymore
map read-only collections by default
cosmetic
When_mapping_to_a_getter_only_ienumerable
cosmetic
cosmetic
upgrade apicompat
cosmetic
cosmetic
add 3.1 target for the integration tests
update to Visual Studio 2019
retarget to 3.1
when mapping to an existing collection, we need ICollection, not IList
@jbogard

Copy link
Copy Markdown
Contributor

More merge conflicts :(

@lbargaoanu

Copy link
Copy Markdown
ContributorAuthor

Rebased. I'll check too :)

@lbargaoanu

Copy link
Copy Markdown
ContributorAuthor

I say let's ignore ApiCompat and check it at the end when we merge all the PR-s. Once we merge this one, I'll rebase the others.

@lbargaoanu

Copy link
Copy Markdown
ContributorAuthor

This one and #3379 are good to go.

@jbogard
jbogard merged commit 4ccbd94 into LuckyPennySoftware:masterApr 29, 2020
@lbargaoanu
lbargaoanu deleted the existing_IEnumerable branch April 29, 2020 13:04
@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actionsgithub-actionsBot locked as resolved and limited conversation to collaborators Sep 17, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@lbargaoanu@jbogard