Skip to content

DictDiffer does not track additions of nested dictionaries. #188

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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