inveniosoftware / inveniosoftware/dictdiffer

DictDiffer does not track additions of nested dictionaries.

Open
#188 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
849
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Hi! There is still an issue probably (see #174):

Package version (if known): v0.9.0

## Describe the bug
DictDiffer does not track additions of nested dictionaries.

## Steps to Reproduce
```
a = {'input': {}, 'output': {}, 'forward': {'WWW': {...}}}
b = {'input': {}, 'output': {}, 'forward': {'WWW': {...}, 'FTP': {...}}}
dictdiffer.diff(a, b, dot_notation=False, path_limit=[('*', '*')])
```
gives []

## Expected behavior
```
[["add", ["forward"], [["FTP", {...}]]]]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.