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

Create AutoMapper attributes and helpers #2

Open
douglasg14b opened this issue Jul 28, 2019 · 0 comments
Open

Create AutoMapper attributes and helpers #2

douglasg14b opened this issue Jul 28, 2019 · 0 comments

Comments

@douglasg14b
Copy link
Member

Based on the ideas that APB uses.

  • AutoMapToAttribute
  • AutoMapFromAttribute
  • AutoMapAttribute

Process:

  • Find all attributes in assemblies
  • Create maps for them all in the provider
  • Register provider and default IMapper instance in IOC container

A difficult part will be setting up the lifecycle for this. Ensuring this gets called somehow at application start. Preferably without requiring the user to have to explicitly call/start it.... Maybe use the ServiceConfguration call to trigger the start of the lifecycle?

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

1 participant