-
Notifications
You must be signed in to change notification settings - Fork 27
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
Root Enum Pairing not working #138
Comments
I can confirm this behavior for version 1.4.0, too. |
Hi! Thanks for the feedback - I guess it was a lack of imagination on my part, but I never designed enum pairing to work with root enum values - it only works for enum members, like this. Makes sense that it should work, though - I'll sort it out! Cheers, Steve |
In our use-case the problem occurred when using some fairy complex mappings, involving some factory-methods. Within the factory-mappings we would like to be able to reuse the currently configured enum-mapping. |
This is supported in the latest code, release to follow. Thanks for the feedback! :) |
This is supported as of v1.5-preview1, which I've just uploaded to NuGet. Thanks again! :) |
I have tried using mapping 2 custom Enums but it always give default enum instead of mapping rules.
Code - ASP.Net Core 2.2
Agile library - AgileObjects.AgileMapper (1.3.0)
In my MappingConfiguration I have done
and used it like
But it always gives
NwmHello
The text was updated successfully, but these errors were encountered: