cucumber / cucumber-jvm-groovy

Cucumber Groovy
MIT License
23 stars 10 forks source link

Parametrized types as step parameters wont work #14

Closed gabrielps closed 5 years ago

gabrielps commented 5 years ago

I tried to build a TableRowTransformer and could not make it work. DataTableTypeRegistryTableConverter.convert() will DataTableTypeRegistryTableConverter.lookupTableTypeByType() but won't resolve the bindings as it will TypeFactory.constructType() and jackson.TypeFactory.constructType() will return _fromAny(null, type, EMPTY_BINDINGS);

gabrielps commented 5 years ago

Damn it. I got the answer. After registering a TableRowTransformer you have to make dataTable.asList(Type). Thanks anyways :)

glibas commented 5 years ago

Glad it's sorted:) any further questions let me know