Closed AndreiMisiukevich closed 6 years ago
@jamesmontemagno What do you think about it?
Too risky of a change for me. Sorry.
@jamesmontemagno hm, it's your right, but if your afraid of these changes In this case we could preserve TypeCheck code (I mean the point below) \/ \/ "Also, I removed redundant code (I mean checking type for Nullable, because now this plugin supports only determined count of primitives.)" /\ /\
But, I think, the plugin should avoid boxing/unboxing for valuetypes.
I noticed, that objects are boxing and unboxing every call. I think, it would be better to avoid it.
(My PR includes changes with fox only for iOS, validate it pls) If you think so too, that it's OK idea, I will be able to refactor Android's project too.
Also, I removed redundant code (I mean checking type for Nullable, because now this plugin supports only determined count of primitives.)
PR Checklist