Why forbid to pass enums??
Enums wouldn't be captured there, but here:
The DefaultVarExploder should only be called when the type is not a primitive, CharSequence, Number, or Date type. I haven't tested enums, but there probably needs to be some thought into how they are handled.
So they are not)) it fails with The value must an object exception
The value must an object
Clearly not tested :) I'll have a gander at this over the weekend.
Fixes for issues #34 and #35
@vicmosin I'm really surprised that such an obvious bug took 4 years for someone to find it. Thanks for the report. A few minor tweaks and it's functional now. I've pushed a snapshot to Maven Central under version 2.1.0-SNAPSHOT Should have a release out by the end of the weekend.
Confirmed, 2.1.0-SNAPSHOT fixes the issue.
What about 2.0.5-SNAPSHOT described in docs?
I'm going straight to 2.1. Should be posting that later today.