Skip to content

DictDiffer does not track additions of nested dictionaries. #188

@lkrash84

Description

@lkrash84

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", {...}]]]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions