You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ mapper.Map(&to, from)
107
107
108
108
##### Conversion functions
109
109
110
-
They are used to convert one type into another. Conversion functions have the highest priority. The second argument is the current mapper instance and is optional.
110
+
They are used to convert one type into another and have the highest priority, however they are not applied to fields of directly assignable structs. The second argument is the current mapper instance and is optional.
Those are triggered _after_ a value has been successfully mapped. The value is **always taken by pointer**.
120
+
Those are triggered _after_ a value has been successfully mapped. The value is **always taken by pointer**. Likewise to conversion functions, they are not called for fields of directly assignable structs.
0 commit comments