Skip to content

Conversation

@gritcsenko
Copy link
Contributor

@gritcsenko gritcsenko commented Jul 18, 2022

Refactored IMapper.From<TSource>() to return new interface ITypeAdapterBuilder<TSource> instead of concrete class.

FYI: Mapster.EF6 & Mapster.EFCore uses outdated package version and causes compilation errors in Mapster.EFCore.Tests and Sample.AspNetCore

Closes #376

@gritcsenko gritcsenko changed the title Closes #376 Refactor IMapper.From to return interface Refactor IMapper.From to return interface Jul 18, 2022
@andrerav
Copy link
Contributor

andrerav commented Sep 5, 2022

@gritcsenko The master branch should be in better shape now with EF Core 6.0. Could you please sync your branch and see if the build errors have gone away? And if so, run the tests as well? Thanks! :)

@andrerav
Copy link
Contributor

andrerav commented Sep 6, 2022

@gritcsenko I synced the fork and fixed a few build errors. Everything now builds and all tests are passing. Can you take a look at my changes and verify that they are good?

@gritcsenko
Copy link
Contributor Author

gritcsenko commented Sep 6, 2022

@gritcsenko I synced the fork and fixed a few build errors. Everything now builds and all tests are passing. Can you take a look at my changes and verify that they are good?

@andrerav Thanks for the update. Everything looks good.
My only concern is that public API was changed

@andrerav andrerav changed the base branch from master to development September 7, 2022 22:05
@andrerav andrerav merged commit 16d81ab into MapsterMapper:development Sep 7, 2022
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.

Suggestion: IMapper.From should return IAdapterBuilder<TSource> not TypeAdapterBuilder<TSource>

2 participants