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
{{ message }}
This repository was archived by the owner on Mar 12, 2025. It is now read-only.
I would expect the old file to be replaced with the new file. In looking at the code, the merge function attempts to to merge the two files which fails because Object.getOwnPropertyDescriptor returns undefined for a File’s properties. Updating isMergableObject to check if the object is a File or Blob would fix this issue. Happy to put up a PR if that approach seems reasonable.
On a deep merge of an Immutable object, properties that have a file are not being replaced. An example of the current behavior:
I would expect the old file to be replaced with the new file. In looking at the code, the
mergefunction attempts to to merge the two files which fails becauseObject.getOwnPropertyDescriptorreturnsundefinedfor a File’s properties. UpdatingisMergableObjectto check if the object is a File or Blob would fix this issue. Happy to put up a PR if that approach seems reasonable.