juliangruber / juliangruber/proxy-clone
Object nesting occurs with repeated agents
Open
- Dominant language
- JavaScript
- Stars
- 128
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
``` js
const obj = {
p: {
}
};
const t = proxyClone(obj);
t.p // will go proxyClone
t.p // will go proxyClone again
```
I think you should add this code at
``` js
if (isObject(value) && !override[name] /* Prevent multiple proxyClone */ ) {
value = proxyClone(value);
override[name] = value;
}
```
> Can I submit PR?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.