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

Dynamic mapping Override at runtime (and configurable) #23

Open
ssteiner opened this issue Dec 7, 2020 · 0 comments
Open

Dynamic mapping Override at runtime (and configurable) #23

ssteiner opened this issue Dec 7, 2020 · 0 comments

Comments

@ssteiner
Copy link

ssteiner commented Dec 7, 2020

You may remember the issue I opened a while ago about dynamically changing mappings. That is now supported in 5.0. Still, in my approach, I define an 'OverrideMapper' (implementation can be seen here). That solution works, yet is somewhat clunky. And I had to put it into LinqToLdap because it accesses various internal properties.

Do you see a better approach to have that additional mapper outside the LinqToLdap lib? Ideally I'd go back to using the mainline but that means an approach where I can override the mapping in the "this property goes there" style. This mapping actually gets configured in a GUI, then it is injected with an instance of OverrideMapper at runtime.

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