Skip to content

Commit 0f954ba

Browse files
authored
Complete DataTable documentation with asScalaRawXxx methods
1 parent be1ccf1 commit 0f954ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/datatables.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Cucumber Scala support DataTables with either:
66

77
**The benefit of using Scala types** if that you will be handling `Option`s instead of potentially `null` values in the Java collections.
88

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+
911
See below the exhaustive list of possible mappings.
1012

1113
_Note: you can use [transformers](transformers.md) to map DataTables to custom types._

0 commit comments

Comments
 (0)