Skip to content

Preserve None values in DictFields. - #2278

Open
neuroid wants to merge 1 commit into
MongoEngine:masterfrom
paperlessreceipts:preserve-none-values-in-dictfields
Open

Preserve None values in DictFields.#2278
neuroid wants to merge 1 commit into
MongoEngine:masterfrom
paperlessreceipts:preserve-none-values-in-dictfields

Conversation

@neuroid

@neuroid neuroid commented Mar 3, 2020

Copy link
Copy Markdown

Fixes #1378. Fixes #2051.

@neuroid

neuroid commented Mar 3, 2020

Copy link
Copy Markdown
Author

I'm not entirely sure if this is the right approach but effectively this brings back the behaviour that changed (perhaps inadvertently) after 0.8.8.

If this looks like a valid fix I can document this in the changelog.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dict field in mongoengine does not save None types Regression in handling DictField keys with None values in embedded documents

1 participant