You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can imagine that you can update the key of an object in an array because the order might have changed and it could be an other object. It would be great to either do the same for both or console.warn if you try to this. This should also be in the docs.
Cheers
The text was updated successfully, but these errors were encountered:
The issue is not specific only to this case. Generally, dot.str() doesn't work with root level fields:
Can we get this fixed ? As it turns it out, it's actually a bug, and root level fields should be able to be accessed (at least through the str function)
Hi, I just found out that if you want to update a key in an object with dot.str you can't do that:
But while updating a key in an object in an array it works perfectly fine:
I can imagine that you can update the key of an object in an array because the order might have changed and it could be an other object. It would be great to either do the same for both or console.warn if you try to this. This should also be in the docs.
Cheers
The text was updated successfully, but these errors were encountered: