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

Is the latest version in master not available as a nuget package. #22

Open
StatisticalMan opened this issue Nov 26, 2019 · 1 comment
Open

Comments

@StatisticalMan
Copy link

I noticed that the current version in master of this repo accepts an optional cfg parameter however installing latest nuget package (5.0.0.0) it lacks the cfg parameter.

In master

public static void LoadMapsFromAssemblyContainingTypeAndReferencedAssemblies<TType>(IMapperConfigurationExpression cfg = null, Func<AssemblyName, bool> assemblyFilter = null)
public static void LoadMapsFromCallerAndReferencedAssemblies(IMapperConfigurationExpression cfg = null, Func<AssemblyName, bool> assemblyFilter = null)
public static void LoadMapsFromAssemblies(IMapperConfigurationExpression cfg, params Assembly[] assemblies)

In 5.0.0.0 nuget package

        public static void LoadMapsFromAssemblies(params Assembly[] assemblies);
        public static void LoadMapsFromAssemblyContainingTypeAndReferencedAssemblies<TType>(Func<AssemblyName, bool> assemblyFilter = null);
        public static void LoadMapsFromCallerAndReferencedAssemblies(Func<AssemblyName, bool> assemblyFilter = null);

This is an incredibly useful addition for trying to incorporate heroicautomapper into an existing solution that has hundreds of existing maps as only one call to Mapper.Initialize is allowed.

@MattHoneycutt
Copy link
Owner

Ugh, looks like you are correct. Somehow I missed publishing a new package after the last merge...

I'm tied up for the next couple of days, but I'll revisit later this week and catch this project up.

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

No branches or pull requests

2 participants