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: docs/datatables.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ Cucumber Scala support DataTables with either:
6
6
7
7
**The benefit of using Scala types** if that you will be handling `Option`s instead of potentially `null` values in the Java collections.
8
8
9
+
If you are sure to never have `null`/`None` values, you can use the `.asScalaRawXXX` convenient methods with remove the `Option` wrapper but still provide Scala collection types.
10
+
9
11
See below the exhaustive list of possible mappings.
10
12
11
13
_Note: you can use [transformers](transformers.md) to map DataTables to custom types._
0 commit comments