Fixed
Details
Assignee
Yoann RodièreYoann RodièreReporter
Yoann RodièreYoann RodièreComponents
Sprint
NoneFix versions
Priority
Major
Details
Details
Assignee
Yoann Rodière
Yoann RodièreReporter
Yoann Rodière
Yoann RodièreComponents
Sprint
None
Fix versions
Priority
Created September 20, 2019 at 5:34 PM
Updated December 13, 2019 at 2:57 PM
Resolved October 30, 2019 at 3:28 PM
Right now defining a converter is quite complicated, as illustrated by the documentation.
I think we could improve on this by moving the part about casting and checking the type out of the converters.
We would then just pass a class when setting a converter.
For example instead of this:
We would do this:
We could even use lambdas when
isCompatibleWith
doesn't need to be implemented.