Fix: Check for null values in isDict method#1511
Conversation
|
@CodeAndWeb would you be able to review this change? This is blocker for us to update to v16. We have dynamic translations coming from backend, some of them are null values. There are being converted to empty objects now. |
|
|
I've seen the change but had no time yet. |
|
@CodeAndWeb Andreas, would it be possible to have a minor release for this change? |
|
Possibly tomorrow. Can you take a look at this additional change? When passing
so the |
Great! Looking forward to it. |
|
Done! |
This pull request addresses a bug in the
isDictmethod that previously did not explicitly check for null values. The original implementation of theisDictmethod only checked if the value was an object and not an array.This behavior is causing some translation values with null values to be converted into an empty object.
Changes made:
isDictmethod to ensure that null values are not incorrectly identified as dictionaries.