boon
boon copied to clipboard
NumberValue returns Fixed Type
Hi
@Override
public TypeType type() {
return TypeType.NUMBER;
}
Is this intentional ? NumberValue reads in a Float/Double.
However, the type will always return NUMBER instead of field type
.
this may have been a mistake. calling toInt or toFloat should force it to do the right thing. It works for bean mapping because I know the type of the property I am injecting.