Skip to content

Conversation

@Some1Somewhere
Copy link

@Some1Somewhere Some1Somewhere commented Jun 26, 2025

This PR updates the array_contains filter logic to avoid returning None when the field being queried is missing (None). Instead, it ensures that the filter behaves consistently with Firestore’s behavior—by excluding the document from results rather than erroring or returning None.

Fixes : mdowds#66

Saw fix in https://github.com/mdowds/python-mock-firestore/pull/67/files
Could you either merge my PR or the above to your fork?
Using your fork since it's better maintained than the original.

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.

array_contains throws exception if array in colelction is none

1 participant