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
+11
Original file line number
Diff line number
Diff line change
@@ -221,6 +221,17 @@ internal static class Program
221
221
222
222
### Key conversion
223
223
224
+
The key marshallers contain three methods based on your intent.
225
+
The source generator will internally validate your object arguments. So if you pass a `int` but the actual key is represented as a `string`, then you will get an `exception`.
226
+
227
+
*`Keys(object partitionKey, object rangeKey)`
228
+
* Used when you want convert both a partion key and a range key.
229
+
*`PartionKey(object key)`
230
+
* Used when you only want to only convert a partiton key without range key.
231
+
*`RangeKey(object key)`
232
+
* Used when you only want to only convert a range key without a partition key.
0 commit comments