We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Similarly to Automapper, Mapperly should support mapping objects and Dictionary<string, object> to and from dynamic types.
Dictionary<string, object>
dynamic
Supporting DeepClone may be tricky, plus should we assume that all dynamic types are ExpandoObject
DeepClone
public static partial Dog ToDog(dynamic src) // construct dog and access relevant types from dynamic in a try catch block
public static partial dynamic ToDynamic(Dog src) return (dyanmic)src // should an ExpandoObject be created and properties copied over?
public static partial dynamic ToDynamic(Dog src)
return (dyanmic)src // should an ExpandoObject be created and properties copied over?
See #1039
The text was updated successfully, but these errors were encountered:
Dictionary<string, object?>
No branches or pull requests
Similarly to Automapper, Mapperly should support mapping objects and
Dictionary<string, object>
to and fromdynamic
types.Supporting
DeepClone
may be tricky, plus should we assume that all dynamic types are ExpandoObjectpublic static partial Dog ToDog(dynamic src) // construct dog and access relevant types from dynamic in a try catch block
public static partial dynamic ToDynamic(Dog src)
return (dyanmic)src // should an ExpandoObject be created and properties copied over?
See #1039
The text was updated successfully, but these errors were encountered: