Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store empty list instead of unset #2517

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bagerard
Copy link
Collaborator

@bagerard bagerard commented May 15, 2021

Currently, if you set a ListField to an empty list, it unset it in the database instead of storing an empty list.
This is bad because it creates inconsistencies which can lead to confusion in queries

Fixes #267
Fixes #761
Relates to #2342

@vvladic
Copy link

vvladic commented Mar 2, 2023

any new developments regarding this?

@marcopetri98
Copy link

Will this PR be merged soon? Storing an empty list instead of performing an unset operation would be optimal for consistency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants